
Originally Posted by
targetmarts
Hello,i used 1.5.4 with image handler 5.0 and zen lightbox,installed the rss 2.1.5/6 or 2.4.2,but when i set Generate Products Images "true",then it display error:
[23-Mar-2018 02:33:33 UTC] PHP Fatal error: Uncaught Error: Call to a member function notify() on null in /home/getappreal/public_html/includes/modules/abagon/main_product_image.php:19
Stack trace:
#0 /home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php(428): require()
#1 /home/getappreal/public_html/includes/modules/pages/rss_feed/header_php.php(369): zen_rss_products('SELECT DISTINCT...', false)
#2 /home/getappreal/public_html/index.php(36): require('/home/getapprea...')
#3 {main}
thrown in /home/getappreal/public_html/includes/modules/abagon/main_product_image.php on line 19
and when set "fales"
it work fine.
Why
That's because this plugin is including the updated main_product_image.php module in a function context, so that the $zco_notifier variable isn't visible.
I'll note (and correct) this behavior in the IH-5 plugin). To correct the issue that you're having, you'll need to edit both /includes/modules/abagon/main_product_image.php and /includes/modules/abagon/additional_images.php, changing all occurrences of
to
Code:
$GLOBALS['zco_notifier']->
Bookmarks