• Resolved Robbys

    (@robbys)


    Hi after upgrade 22/11/2020 ver.7.10.5 I wasnt no able to enter to the admin area, I restored wp customer area folder by ftp but not worked;
    I also enabled debugging mode,as suggested, but it didn’t detect anything abnormal so I had to restore database.
    MySQL Version 5.7.30
    PHP Version 7.2.33
    WP Version 5.5.3
    thanx

    • This topic was modified 5 years, 3 months ago by Robbys.
    • This topic was modified 5 years, 3 months ago by Robbys.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Robbys

    (@robbys)

    I tried install as suggest in the forum but when I deactive plugin I have critical error…

    Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    Hi

    Sorry about the response time. We are quicker on the plugin website’s support forum.

    There must be an error in the php logs, once you find it, you can paste it here so that we know what could cause the issue.

    You can always disable any faulty plugin by renaming it’s folder via ftp

    Thread Starter Robbys

    (@robbys)

    This is email from wordpress for admininistrator:

    Un errore di E_ERROR è stato causato nella linea 213 del file /web/htdocs/www.mysite.com/home/wordpress/wp-content/themes/regsc-child/functions.php. Messaggio di errore: Uncaught Error: Call to undefined function cuar_is_customer_area_page() in /web/htdocs/www.mysite.com/home/wordpress/wp-content/themes/regsc-child/functions.php:213
    Stack trace:
    #0 /web/htdocs/www.mysite.com/home/wordpress/wp-includes/class-wp-hook.php(287): custom_cuar_wp_members_compatibility(‘plugins.php’)
    #1 /web/htdocs/www.mysite.com.com/home/wordpress/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /web/htdocs/www.mysite.com.com/home/wordpress/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /web/htdocs/www.mysite.com.com/home/wordpress/wp-admin/admin-header.php(102): do_action(‘admin_enqueue_s…’, ‘plugins.php’)
    #4 /web/htdocs/www.mysite.com.com/home/wordpress/wp-admin/plugins.php(603): require_once(‘/web/htdocs/www…’)
    #5 {main}
    thrown

    Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    That means that your theme (regsc-child/functions.php) is trying to call a function from our plugin (cuar_is_customer_area_page)

    But as the plugin is not active, that function is unknown to WordPress.

    Please contact the theme developer to know how to fix that.

    Rgards,

    Thread Starter Robbys

    (@robbys)

    If I disable php by ftp it’s always some fatal error….Why plugin is not active?
    This at line 213 functions.php:
    /**
    * Disable WP Members Select2 assets on WPCA pages
    */
    function custom_cuar_wp_members_compatibility() {
    if ( cuar_is_customer_area_page( get_queried_object_id() ) || cuar_is_customer_area_private_content(
    get_the_ID() ) )
    {
    wp_dequeue_script(‘select2’);
    wp_dequeue_style(‘select2css’);
    }
    }
    add_action( ‘admin_enqueue_scripts’, ‘custom_cuar_wp_members_compatibility’, 99 );

    Thread Starter Robbys

    (@robbys)

    I can restore the db to make the site work but when I edit a page or an article the page is all confused imposible to work

    Thread Starter Robbys

    (@robbys)

    Now it’s all ok
    thanks

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

The topic ‘No access to admin area after upgrade 7.10.5’ is closed to new replies.