• Resolved Disconcerting

    (@disconcerting)


    When I try to activate the plugin, I get the following error:

    Warning: require_once(/public_html/wp-includes/class-wp-image-editor.php) [function.require-once]: failed to open stream: No such file or directory in /public_html/wp-content/plugins/smart-watermark/image-editor.php on line 3

    Granted, I’m probably using an older version of wordpress than you were aiming for. But, I was hopeful.

    Using WP 3.4.2 with PHP 5.2.

    http://ww.wp.xz.cn/plugins/smart-watermark/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author belfisher

    (@belfisher)

    Thanks for your comment.

    Plugin uses a WP_Image_Editor class which has been added since 3.5 – http://codex.ww.wp.xz.cn/Class_Reference/WP_Image_Editor

    I’ve moved this files to plugin directory and it’s included when WP version < 3.5.

    Please check it out.

    Thread Starter Disconcerting

    (@disconcerting)

    Thank you for looking into this for me! It installs now, and the settings page actually lists my custom image sizes, which is an improvement on every other plugin I’ve tried. I am getting errors when I try to upload new images now:

    Warning: imagealphablending(): supplied argument is not a valid Image resource in /public_html/wp-content/plugins/smart-watermark/image-editor.php on line 15

    Warning: imagesavealpha(): supplied argument is not a valid Image resource in /public_html/wp-content/plugins/smart-watermark/image-editor.php on line 16

    Warning: imagecopy(): supplied argument is not a valid Image resource in /public_html/wp-content/plugins/smart-watermark/image-editor.php on line 19

    These repeat a few times, I’m assuming for every image size I have set to be watermarked.

    I wasn’t really sure whether to respond here or open a new thread- technically, the installation issue is resolved.

    Plugin Author belfisher

    (@belfisher)

    Could you send me several images you have tried to upload at [email protected]?

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

The topic ‘Fatal error on activation’ is closed to new replies.