• Resolved justyumyum

    (@justyumyum)


    Hi there

    I’ve installed the outdoor theme of CTHthemes using Redux framework on a fresh WordPress instance. The front end works perfectly but in the back end the outdoor options section is having a fatal error through by the redux framework:

    Warning: require(/home/www/whiite.space.static.2/wp-content/plugins/redux-framework/ReduxCore/templates/panel/container.tpl.php): failed to open stream: No such file or directory in /home/www/whiite.space.static.1/plugins/redux-framework/ReduxCore/core/panel.php on line 254
    
    Warning: require(/home/www/whiite.space.static.2/wp-content/plugins/redux-framework/ReduxCore/templates/panel/container.tpl.php): failed to open stream: No such file or directory in /home/www/whiite.space.static.1/plugins/redux-framework/ReduxCore/core/panel.php on line 254
    
    Fatal error: require(): Failed opening required '/home/www/whiite.space.static.2/wp-content/plugins/redux-framework/ReduxCore/templates/panel/container.tpl.php' (include_path='.:/usr/share/php') in /home/www/whiite.space.static.1/plugins/redux-framework/ReduxCore/core/panel.php on line 254

    I’m using sub domains for plugins folder and wp-content and its remaining sub folders.

    For plugin the full URL is https://static1.whiite.space/plugins/ with the pull path /home/www/whiite.space.static.1/plugins/

    For wp-content the full URL is https://static2.whiite.space/wp-content/with full path /home/www/whiite.space.static.2/wp-content/

    In my wp-config.php I’m using the following define directives:

    define('WP_PLUGIN_DIR','/home/www/whiite.space.static.1/plugins');
    define('WP_PLUGIN_URL','https://static1.whiite.space/plugins');
    define('WP_CONTENT_DIR','/home/www/whiite.space.static.2/wp-content');
    define('WP_CONTENT_URL','https://static2.whiite.space/wp-content');

    As you might see in the error statements above the redux framework is mixing up things.

    Could you please check and let me know how to fix the issue?

    Thanks and best regards
    Carsten

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Ahhh, yes we’ve had problems with this in the past, which is why we changed things in Redux 4.0 that is under development. Would you mind trying it out to see if we’ve resolved it? https://github.com/reduxframework/redux-framework-4

    It may work for this error but may cause others since we’re still working on backward compatibility. It’s worth a try!

    Another option is to override the Redux path and URLs via filter:

    apply_filters( "redux/_url", self::$_url );
    apply_filters( "redux/_dir", self::$_dir );

    Then everything will just work as it should. ??

    Thread Starter justyumyum

    (@justyumyum)

    Hey guys

    I’ve been giving Redux 4.0 a try as far as I can see it right now everything works perfect – in back end as well as in front end.

    Thanks for you rapid fast support!

    Cheers
    Carsten

    Plugin Contributor Dōvy Paukstys

    (@dovyp)

    Well awesome. It should work fine as long as your developer didn’t have any odd custom extensions, we’re trying to fix that.

    Feel free to leave a review if you don’t mind. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redux is leading to fatal error in backend’ is closed to new replies.