Uncaught type error
-
Trying to apply a watermark on an image, I get an error message. Checking the logs I found this:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: int * string
/plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php:413Stack trace:
#0 /plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php(356): EasyWatermark\AttachmentProcessor\AttachmentProcessorGD->apply_image_watermark() #1 /plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php(141): EasyWatermark\AttachmentProcessor\AttachmentProcessorGD->apply_watermark() #2 /plugins/easy-watermark/src/classes/Watermark/Handler.php(303): EasyWatermark\AttachmentProcessor\AttachmentProcessorGD->process() #3 /plugins/easy-watermark/src/classes/Watermark/Handler.php(173): EasyWatermark\Watermark\Handler->apply_watermarks() #4 /plugins/easy-watermark/src/classes/Watermark/Ajax.php(66): EasyWatermark\Watermark\Handler->apply_single_watermark() #5 /wp-includes/class-wp-hook.php(305): EasyWatermark\Watermark\Ajax->apply_single_watermark() #6 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #7 /wp-includes/plugin.php(474): WP_Hook->do_action() #8 /wp-admin/admin-ajax.php(187): do_action() #9 {main} thrown in /plugins/easy-watermark/src/classes/AttachmentProcessor/AttachmentProcessorGD.php on line 413
Any ideas what might be causing it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Uncaught type error’ is closed to new replies.