Support » Plugin: Gutenberg Template Library & Redux Framework » Help with Fatal error: Uncaught Error: Call to undefined function wp_parse_url()

  • Resolved federicol

    (@federicol)


    Hi guys,
    few days ago I update redux framework plugin, but after that my website was down (frontend + backend). I tried to deactivate all plugins whitout resolve.
    I activated debug and I found this:

    Fatal error: Uncaught Error: Call to undefined function wp_parse_url() in /home4/bmwmotoclub/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-helpers.php on line 227
    ( ! ) Error: Call to undefined function wp_parse_url() in /home4/bmwmotoclub/public_html/wp-content/plugins/redux-framework/redux-core/inc/classes/class-redux-helpers.php on line 227
    Call Stack
    # Time Memory Function Location
    1 0.0004 390936 {main}( ) …/index.php:0
    2 0.0006 392968 require( ‘/home4/bmwmotoclub/public_html/wp-blog-header.php’ ) …/index.php:17
    3 0.0009 407816 require_once( ‘/home4/bmwmotoclub/public_html/wp-load.php’ ) …/wp-blog-header.php:12
    4 0.0011 420944 require_once( ‘/home4/bmwmotoclub/public_html/wp-config.php’ ) …/wp-load.php:37
    5 0.0017 488024 require_once( ‘/home4/bmwmotoclub/public_html/wp-settings.php’ ) …/wp-config.php:83
    6 0.1410 15948240 include_once( ‘/home4/bmwmotoclub/public_html/wp-content/plugins/redux-framework/redux-framework.php’ ) …/wp-settings.php:215
    7 0.1417 16024872 Redux_Framework_Plugin::instance( ) …/redux-framework.php:40
    8 0.1426 14856176 Redux_Framework_Plugin->includes( ) …/class-redux-framework-plugin.php:98
    9 0.1431 14920360 require_once( ‘/home4/bmwmotoclub/public_html/wp-content/plugins/redux-framework/redux-core/framework.php’ ) …/class-redux-framework-plugin.php:162
    10 0.1436 14994272 Redux_Core::instance( ) …/framework.php:28
    11 0.1480 15646848 Redux_Core->init( ) …/class-redux-core.php:170
    12 0.1480 15647224 Redux_Helpers::is_local_host( ) …/class-redux-core.php:184

    I tried to deactivate redux plugin only, but I’m unable to access wp-admin.

    Can anyone help me?
    Thanks

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter federicol

    (@federicol)

    ps. the code around line 227 of redux-framework/redux-core/inc/classes/class-redux-helpers.php is:

    /**
    * Checks for localhost environment.
    *
    * @return bool
    */
    public static function is_local_host() {
    $is_local = false;

    $domains_to_check = array_unique(
    array(
    ‘siteurl’ => wp_parse_url( get_site_url(), PHP_URL_HOST ),
    ‘homeurl’ => wp_parse_url( get_home_url(), PHP_URL_HOST ),
    )
    );

    Plugin Author Dōvy Paukstys

    (@dovyp)

    This should be resolved. Can you verify? Version 4.1.24 I believe has a fix in it.

    Plugin Support mohammedeisa

    (@mohammedeisa)

    Hello,

    Please let me know if Redux 4.1.24 fixed this issue.

    Thanks.

    Thread Starter federicol

    (@federicol)

    Hi guys,
    yessss, problem fixed!!!

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.