• Resolved dmisljen

    (@dmisljen)


    I get the following Fatal error message when trying to activate the plugin:

    Fatal error: Uncaught Error: Call to undefined method Redux_Helpers::is_local_host() in /public_html/wp-content/plugins/cryptocurrency-payment-gateway/admin/redux-framework/class-redux-core.php:208 Stack trace: 
    #0 /public_html/wp-content/plugins/cryptocurrency-payment-gateway/admin/redux-framework/class-redux-core.php(185): Redux_Core->init() 
    #1 /public_html/wp-content/plugins/cryptocurrency-payment-gateway/admin/redux-framework/framework.php(34): Redux_Core::instance() 
    #2 /public_html/wp-content/plugins/cryptocurrency-payment-gateway/admin/admin-init.php(11): include_once('/...') 
    #3 /public_html/wp-content/plugins/cryptocurrency-payment-gateway/includes/include-all.php(143): require_once('/...') 
    #4 /public_html/wp-content/plugins/cryptocurrency-payment-gateway/cryptocurrency-payment-gateway.php(58): require_once('/...') 
    #5 /public_html/wp-admin/includes/plugin.php(2286): include_once('/...') 
    #6 /public_html/wp-admin/plugins.php(191): plugin_sandbox_scrape() 
    #7 {main} thrown in /public_html/wp-content/plugins/cryptocurrency-payment-gateway/admin/redux-framework/class-redux-core.php on line 208

    I did some testing, and it turns this happens only when the Salient theme is active. Building on that I found it to be a Redux framework version conflict.
    The theme uses v3.6.5, while your plugin uses v4.3.1. And since the theme loads first, the older version is used.

    I will also post a question to the theme developers, but is there anything that can be done to make the plugin work despite this, make it more robust?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author CryptoWoo

    (@cryptowoo)

    Hi there. We are sorry to hear about the conflict with the Salient theme. We recently updated the Redux Framework that we use because many people had compatibility issues if they used a theme with a newer Redux version or had a newer Redux plugin installed. We will look into if it is possible to support themes that load an older version of the Redux framework in the next update or to add admin notice about a workaround for such cases. We will make sure to prevent fatal errors when activating the plugin in this case.

    As a workaround, can you please try to install the latest version of the Redux plugin? The Redux plugin usually loads before the theme so we think this should work. Let me know how it goes.

    We would appreciate it if you can create a support ticket from our support portal on our website attach a screenshot of the error and attach the theme files. This will help us debug and resolve this issue.

    Thread Starter dmisljen

    (@dmisljen)

    Hi,

    Thanks for the help, the workaround with the Redux plugin works!

    I’ll check about creating a support ticket and adding the theme files there.
    It’s a premium theme, so I’m not sure if I’m allowed to send the files.

    Plugin Author CryptoWoo

    (@cryptowoo)

    I am happy to hear installing the Redux plugin worked for you to resolve this issue. Thanks for responding back on the solution, it is very helpful to us.

    Maybe you have an alternative free theme with the same issue that you could share with us?

    Plugin Author CryptoWoo

    (@cryptowoo)

    We have received a copy of the Salient theme from the theme developer, and we will work on fixing this issue in the next update.

    Plugin Author CryptoWoo

    (@cryptowoo)

    A workaround was released in version 1.0.2 as stated in the changelog:

    * Add admin notice warning about missing CryptoWoo settings and possible reduction of functionality with button to install Redux Framework Plugin and additional information of file location where the Redux Framework was embedded from.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error when activating plugin’ is closed to new replies.