• Resolved aranjtaylor

    (@aranjtaylor)


    Hello,

    I updated WordPress to 5.9.3 and got an error due to the SVI plugin:

    An error of type E_ERROR was caused in line 451 of the file wp-content/plugins/smart-variations-images/includes/library/redux-core/class-redux-core.php. Error message: Uncaught Error: Call to undefined method Redux::all_instances() in /wp-content/plugins/smart-variations-images/includes/library/redux-core/class-redux-core.php:451
    Stack trace:
    #0 /wp-includes/class-wp-hook.php(307): Redux_Core->add_debug_info(Array)
    #1 /wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
    #2 /wp-admin/includes/class-wp-debug-data.php(1468): apply_filters('debug_informati...', Array)
    #3 /wp-admin/site-health-info.php(32): WP_Debug_Data::debug_data()
    #4 /wp-admin/includes/class-wp-site-health.php(66): require_once('/[directory]/...')
    #5 /wp-includes/class-wp-hook.php(307): WP_Site_Health->show_site_health_tab('debug')
    #6 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #7 /wp-includes/plugin.php(474): WP_Hook->do_action(Array)

    The site still works fine, but now I don’t have any images in each product page: https://imgur.com/z79v0EX.
    The product loop is fine, but each individual product page looks like the above picture.
    When I disable the plugin, the images return.

    Looking at the code, (https://imgur.com/dAiXGKU), by default, the opacity is set to 0 (red).
    I added some additional CSS to set the opacity to 1!important (green), but that hasn’t fixed the issue either.

    This is affecting our store, so obviously this is time-sensitive.
    Any advice or help you could provide would be greatly appreciated.

    Thank you.

    • This topic was modified 4 years, 1 month ago by aranjtaylor.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author RosendoLabs

    (@drosendo)

    Hello,

    The redux works exclusively in the admin area to manage options so it should not affect anything in your front-end.

    If you have redux-framework plugin installed please disable it (my plugin includes it) unless there is another plugin/theme using the redux-framework. And then that maybe the cause for the error.

    Cheers,
    David

    Thread Starter aranjtaylor

    (@aranjtaylor)

    Hi David,

    Thanks a million for your reply.

    I don’t have the redux-framework plugin installed, so your plugin is the only one using it.
    I tried deleting the files in /wp-content/plugins/smart-variations-images/includes/library/redux-core, but now I can’t use SVI admin area. The images also aren’t back.
    Only good news is I’m obviously not getting the E_ERROR anymore.

    Thanks for your help, but have you any other suggestions?

    Plugin Author RosendoLabs

    (@drosendo)

    Hi,

    The front-end should not be affected at all. That is just weird. Even more the plugin should not be affected with the WordPress update.

    Did you change PHP version?
    What is your site address?
    Maybe contact me via alternate channels to have a better look?

    Cheers,
    David

    Thread Starter aranjtaylor

    (@aranjtaylor)

    Thanks David,

    PHP version is 7.4, that hasn’t changed.
    I tried adding you to a Slack channel, but not having much joy.
    Is there another way I can message you with more details?

    Thanks.

    Plugin Author RosendoLabs

    (@drosendo)

    Hi,

    Try deleting my plugin and installing a fresh copy from WordPress Repository.

    You may contact me at smart-variations.com if you wish.

    Cheers,

    Plugin Author RosendoLabs

    (@drosendo)

    Hello,

    I did not get any further feedback so I will assume installing a fresh copy from WordPress Repository fixed the issue.

    Will close this.

    Cheers,
    David

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

The topic ‘Fatal Error’ is closed to new replies.