• Resolved Amaia

    (@amaiaesteban)


    I have had a website for a long time that uses the Redux Framework plugin. A few days ago the following message appeared: “There has been a critical error on this website”. Right now I have deactivated the plugin for the web to work but I need to fix the problem so that the web looks as usual

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Kev Provance

    (@kprovance)

    Hi,

    “Critical error” is a generic message that tells us nothing. The admin of the site should have been sent an email with the specific error message. That is the data I need to see to determine if the cause is Redux or the theme.

    Thread Starter Amaia

    (@amaiaesteban)

    From the server they detected
    [client 209.141.49.169:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function icl_get_home_url()

    The theme was crashing because it doesn’t support the content it has internally. An analysis was done and it has been detected that the failing plugin is redux-framework. We have renamed its directory so that it does not load, and the web seems to work correctly, but of course I need the functionalities of this plugin for the proper functioning of the web

    Plugin Author Kev Provance

    (@kprovance)

    Well, here’s the problem: icl_get_home_url isn’t a function found in Redux or that Redux uses. It’s a function found in the WPML plugin (see https://gist.github.com/jrobinsonc/31054f6ec9b1227d60ea0083bf0a2287)

    Redux is an options framework, so when it’s disabled, the theme options run their defaults. Usually, code inside different options sometimes triggers errors that don’t trigger when Redux is disabled. This leads people to believe Redux is the problem, when it’s not. Look at issues in this forum. 90% of them are exactly this.

    As Niva is a premium theme, I do not have access to it and can do no further research. The version you are running dates back to 2019, so updating the theme may be necessary. I also see you’re running WordPress 5.9. You may also need to update WordPress, as we’re up to 6.2 now.

    If after these things there is still an issue, you’ll need to contact the theme author. According to their ThemeForest page, the theme supports WPML which suggests the error lies there and is triggered because the code exists in a conditional block controlled by Redux. All I can tell you for certain is that Redux isn’t the issue.

    Good luck.

    Thread Starter Amaia

    (@amaiaesteban)

    You have helped me a lot, I will try to solve it by guiding myself along the path you have told me. thank you very much for your help

    Thread Starter Amaia

    (@amaiaesteban)

    Hi!

    I have updated everything, the theme, the wordpress, the plugins. And I still get the error when I activate the Redux Framework plugin. If I disable it the page looks (without the redux plugin features I need). I have contacted the server about the language plugin and they both tell me that the problem is the Redux Framework plugin. Could you help me to solve this issue as soon as possible?

    Plugin Author Kev Provance

    (@kprovance)

    Okay, I’m sorry. But I’m not sure why you think Redux is the issue. No data, including specific error messages, have demonstrated this.

    As said previously, Redux is an options framework, so when it’s disabled, the theme options run their defaults. Usually, code inside different options sometimes triggers errors that don’t trigger when Redux is disabled. This leads people to believe Redux is the problem, when it’s not. Look at issues in this forum. 90% of them are exactly this.

    Did you contact the theme author and ask for support? Technically, it is their job to determine why their theme is causing errors. If the theme author makes the determination Redux is the case, and they have the data to prove it, then we’d need to hear from them. Typically, we do not support themes or plugins that use Redux as I don’t have access to them, and I have no control over how they use Redux.

    Good luck.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘SOS Redux Framework causes a critical error’ is closed to new replies.