• Resolved panflat2694

    (@panflat2694)


    Hi there,

    I’ve migrated by Divi blog to my localhost using Updraft Plus. Basically migration worked, but I couldn’t access my WP-admin page (getting a 404 error message, page not found).

    I was given the advice to rename plugins and main theme folder and to revert to the default Twentytwentyfour theme. That’s what I did.

    But now I’m getting this error message:

    Fatal error: Uncaught Error: Call to undefined function get_network() in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php:43 Stack trace: #0 C:\xampp\htdocs\soundsandcolors\wp-admin\index.php(137): require_once() #1 {main} thrown in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php on line 43

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    How can I fix this?

    I’m using ApacheFriends XAMPP Version 8.2.12 on Windows 10.

    Thank you for your help.

    • This topic was modified 6 months, 3 weeks ago by James Huff. Reason: moved to Localhost Installs since this is a localhost install
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Please check the error log on your server. If you can’t find the log, please contact your host. Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there.?https://developer.www.ads-software.com/advanced-administration/debug/

    Thread Starter panflat2694

    (@panflat2694)

    Hello,

    I’ve enabled debug mode and set up error logs. Here’s what’s listed in my debug.log.

    [01-Apr-2024 21:58:41 UTC] Cron reschedule event error for hook: duplicator_email_summary_cron, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”duplicator_weekly_cron”,”args”:[],”interval”:604800}

    [01-Apr-2024 21:59:18 UTC] PHP Notice: Function wp_add_privacy_policy_content was called incorrectly. The suggested privacy policy content should be added only in wp-admin by using the admin_init (or later) action. Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 4.9.7.) in C:\xampp\htdocs\soundsandcolors\wp-includes\functions.php on line 6031

    [01-Apr-2024 21:59:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_network() in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php:43
    Stack trace:
    #0 C:\xampp\htdocs\soundsandcolors\wp-admin\index.php(137): require_once()
    #1 {main}
    thrown in C:\xampp\htdocs\soundsandcolors\wp-admin\admin-header.php on line 43

    Thread Starter panflat2694

    (@panflat2694)

    I’ve fixed it. In phpmyadmin I deleted the password value in the ‘user_pass’ field and replaced it basically with the same password.

    BUT under the ‘Function’ column, I selected ‘MD5’ from the drop-down menu and then it worked.

    I’m not a developper, but maybe it was just that the MD5 setting was not correct, IDK.

    Now, I can enjoy my blog again from the outside AND inside.

    Thank you for your assistance on this matter.

    CORRECTION:

    It was the SiteGround security plugin causing the issue. I forgot that I deactivated the security plugins while trying to fix the problem. After reactivating SGS the issue reappeared.

    • This reply was modified 6 months, 3 weeks ago by panflat2694.
    Moderator t-p

    (@t-p)

    Glad its sorted ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error message when to trying to access WP-admin page’ is closed to new replies.