Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Found that my host (inmotionhosting) has some unique settings that need to be applied for ImageMagick to work.
    https://www.inmotionhosting.com/support/website/software/using-imagemagick
    Can a dev look at this and supply information to those whose’s servers don’t have this openly installed on their server. I’m figuring I need to change the plugin settings or something.

    Just downloaded this plugin but it wouldn’t activate. I found I had to update my php version but after I did that it would only give the error:

    Fatal error: Call to a member function getVersion() on a non-object in .../wp-content/plugins/pdf-light-viewer/controllers/Plugin.php on line 260

    After some digging around I’m finding its a problem with this line of code:

    $Imagick = static::getXMagick();

    Which is followed by:

    $ImagickVersion = $Imagick->getVersion();

    Apparently the preceding line returns null and I can’t find any information on what this code actually does as the only place it shows up in searches is on this plugin.

    We need to find a way to pull $Imagick as an object so the getVersion() can properly run on it.

    At least, this is my assessment though I’m not the best with php.

    Same thing here.
    Just downloaded this plugin but it wouldn’t activate. I found I had to update my php version but after I did that it would only give the error:

    Fatal error: Call to a member function getVersion() on a non-object in .../wp-content/plugins/pdf-light-viewer/controllers/Plugin.php on line 260

    After some digging around I’m finding its a problem with this line of code:

    $Imagick = static::getXMagick();

    Which is followed by:

    $ImagickVersion = $Imagick->getVersion();

    Apparently the preceding line returns null and I can’t find any information on what this code actually does as the only place it shows up in searches is on this plugin.

    We need to find a way to pull $Imagick as an object so the getVersion() can properly run on it.

    At least, this is my assessment though I’m not the best with php.

Viewing 3 replies - 1 through 3 (of 3 total)