Undefined variable Error in Nextend/Framework/Image/ImageEdit.php on line 24
-
in Version 3.4.1.14 I get the following error after adding images to a slide:
Undefined variable: https://10.0.0.125/wordpress/wp-content/uploads/2020/12/Jul_2020_Tannenbaum.jpeg in /srv/www/vhosts/test/wordpress/wp-content/plugins/smart-slider-3/Nextend/Framework/Image/ImageEdit.php on line 24
I found the following line in ImageEdit:
23 if ($targetWidth <= 0 || $targetHeight <= 0 || !function_exists(‘imagecreatefrompng’)) {
24 return Filesystem::pathToAbsoluteURL($$imageUrl);
25 }After removing the doubled “$$” everything worked fine.
I have no real idea, why it happens only on my host and wether the fix is correct.
Please have a look into that.
- The topic ‘Undefined variable Error in Nextend/Framework/Image/ImageEdit.php on line 24’ is closed to new replies.