Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter lennonrich

    (@lennonrich-1)

    Heya,

    1.4.1e works a charm on the two I’ve tested with! Will mark as resolved. Thank you so much for your help!

    Thread Starter lennonrich

    (@lennonrich-1)

    lol, really sorry — saw “Imagick” and just copied the error, apologies!

    Will test it out properly!

    Thread Starter lennonrich

    (@lennonrich-1)

    Hello,

    No problems — I appreciate everything you’re doing ??

    This is with 1.4.1d

    [12-Apr-2016 14:41:21 UTC] PHP Strict Standards: Non-static method Imagick::getversion() should not be called statically in /home/bathandnortheast/public_html/assets/themes/ccg/functions.php on line 618

    Media Library
    When I load up the media library, the loading circle just spins and spins and spins. If I press List View, it all loads in about a second. Click the Grid View button again, just nothing, spinning. This could be entirely coincidental, I just wanted to feed it back in case it helps ??

    Thread Starter lennonrich

    (@lennonrich-1)

    Hello ??

    [12-Apr-2016 14:15:12 UTC] PHP Strict Standards: Non-static method Imagick::getversion() should not be called statically in /home/bathandnortheast/public_html/assets/themes/ccg/functions.php on line 618

    Edit:Further, the media library’s stopped working in Grid View since this 1.4.1c. It still works in List view, but not Grid view ??

    Thread Starter lennonrich

    (@lennonrich-1)

    Modified ever so slightly:

    if ( is_user_logged_in () ){
    $v = Imagick::getVersion();
    preg_match('/ImageMagick ([0-9]+\.[0-9]+\.[0-9]+)/', $v['versionString'], $v);
    echo '<!--imagick version: '.$v[1] . '-->';
    }

    Produces:
    <!--imagick version: 6.2.8-->

    Thread Starter lennonrich

    (@lennonrich-1)

    Hiya,

    Here’ what I did:

    • Deleted the existing plugin
    • Uploaded the new plugin
    • Deactivated the plugin
    • Reactivated the plugin
    • Went into Options, unchecked using custom dimensions and saved
    • Uploaded a PDF

    Unfortunately it still fails, with the message:

    [12-Apr-2016 13:05:52 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293

    Thanks!

    Thread Starter lennonrich

    (@lennonrich-1)

    Hiya,

    Thanks for the update! Tried with the new version and tested with three different PDFs with no success:

    [12-Apr-2016 12:50:45 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293

    [12-Apr-2016 12:50:56 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293

    [12-Apr-2016 12:51:07 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293

    I’ve also put in a request to the host to update ImageMagick to the latest version.

    Thanks so much for your help ??

    Thread Starter lennonrich

    (@lennonrich-1)

    Hiya,

    So this is the error message:

    [12-Apr-2016 08:11:27 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 276

    I then tried it with a different PDF, just to test:
    [12-Apr-2016 08:17:01 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 276

    However, ImageMagick is definitely installed on the server:
    Hosted on Imgur

    Could it be because our wp-content directory has been renamed ‘assets’ for security?

    Many thanks again for your assistance!

    Thread Starter lennonrich

    (@lennonrich-1)

    Hello,

    Firstly, many thanks for your help so far.

    Tried to upload a 5kb PDF and still getting the error, even after applying those fixes. The PHP config is:

    memory_limit = 256M
    upload_max_filesize = 32M
    post_max_size = 32M

    For reference, this is the error we’re getting:
    Hosted on Imgur

    This is the size of the PDF file we’re trying to update:
    Hosted on Imgur

    And if you close the media browser and then re-open it, the file is there, albeit without a thumbnail:
    Hosted in Imgur

    Could this be a permissions issue on the host?

    Thanks in advance!

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