After reading through it, I'm not entirely sure what the answer is saying to do. So I would break this line (line 10):
PHP Code:
$cleanwid = end(explode('/',trim($fullurl,'/')));
Into more variables?
EDIT: Nevermind, I got rid of the strict standard error by doing this:
PHP Code:
//A not-so-clean way to get the wid of the parent page
$fullurl = $_SERVER['HTTP_REFERER'];
$scrub = explode('/',trim($fullurl,'/'));
$cleanwid = end($scrub);
It still doesn't fix the "failed to read file" issue though. I already contacted HoF about it, and he said it might be an issue with the server and not imagick (which is beyond my control). He's looking into it.