Support » Fixing WordPress » Site Broken since update

  • Resolved johnycow

    (@johnycow)


    Hi there,
    I have reasons to believe that after the update, my site is broken.
    By broken I mean, its a blank page and when I go on my login page.
    I’m told that I should receive an email for a safe login, but I never received any email. I also doubled check my cpanel, my email logs shows that it was never requested to send an email.
    I must have had it on auto-update.
    I’ve been troubleshooting with no luck.
    I tried to change theme, renamed plugin folder, but none of these fixed the site.
    I can see this error though:

     Fatal error: Uncaught Error: Class 'Requests_IDNAEncoder' not found in /home/odobiot/sharethis.today/wp-includes/class-requests.php:597 Stack trace: #0 /home/odobiot/sharethis.today/wp-includes/class-requests.php(363): Requests::set_defaults('https://my.elem...', Array, Array, 'GET', Array) #1 /home/odobiot/sharethis.today/wp-includes/class-http.php(393): Requests::request('https://my.elem...', Array, Array, 'GET', Array) #2 /home/odobiot/sharethis.today/wp-includes/class-http.php(622): WP_Http->request('https://my.elem...', Array) #3 /home/odobiot/sharethis.today/wp-includes/http.php(164): WP_Http->get('https://my.elem...', Array) #4 /home/odobiot/sharethis.today/wp-content/plugins/elementor/includes/api.php(92): wp_remote_get('https://my.elem...', Array) #5 /home/odobiot/sharethis.today/wp-content/plugins/elementor/includes/api.php(158): Elementor\Api::get_info_data(false) #6 /home/odobiot/sharethis.today/wp-content/plugins/elementor/core/admin/canary-deployment.php(81): Elementor\Api::get_canary_deployment_info in /home/odobiot/sharethis.today/wp-includes/class-requests.php on line 597
    There has been a critical error on your website. Please check your site admin email inbox for instructions.
    
    
    • This topic was modified 2 months, 2 weeks ago by johnycow.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Hm, it looks like the plugins weren’t properly disabled, otherwise the error wouldn’t be referencing /wp-content/plugins/elementor/includes/api.php

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Hi @macmanx, thank you for the quick reply. I have renamed the plugin folder and reloaded the page, and here is the new error

    Fatal error: Uncaught Error: Class 'Requests_IDNAEncoder' not found in /home/odorfuyb/sharethis.today/wp-includes/class-requests.php:597 
    Stack trace: #0 /home/odorfuyb/sharethis.today/wp-includes/class-requests.php(363): Requests::set_defaults('https://api.wor...', Array, Array, 'POST', Array) #1 /home/odorfuyb/sharethis.today/wp-includes/class-http.php(393): Requests::request('https://api.wor...', Array, Array, 'POST', Array) #2 /home/odorfuyb/sharethis.today/wp-includes/class-http.php(605): WP_Http->request('https://api.wor...', Array) #3 /home/odorfuyb/sharethis.today/wp-includes/http.php(181): WP_Http->post('https://api.wor...', Array) #4 /home/odorfuyb/sharethis.today/wp-includes/update.php(380): wp_remote_post('https://api.wor...', Array) #5 /home/odorfuyb/sharethis.today/wp-includes/update.php(758): wp_update_plugins() #6 /home/odorfuyb/sharethis.today/wp-includes/class-wp-hook.php(288): _maybe_update_plugins('') #7 /home/odorfuyb/sharethis.today/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Arra in /home/odorfuyb/sharethis.today/wp-includes/class-requests.php on line 597
    
    • This reply was modified 2 months, 2 weeks ago by Steve Stern.

    I’ve changed the theme and the site is still broken.

    • This reply was modified 2 months, 2 weeks ago by johnycow.
    • This reply was modified 2 months, 2 weeks ago by johnycow.

    Error log in cpanel:

    [26-Nov-2019 07:29:52 America/New_York] PHP Notice:  Undefined index: test in /home/odorfuyb/sharethis.today/.5ddd1ab16038b.php on line 2
    [26-Nov-2019 07:29:52 America/New_York] PHP Notice:  Undefined index: bonus in /home/odorfuyb/sharethis.today/.5ddd1ab16038b.php on line 2
    [26-Nov-2019 09:20:58 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/.5ddd1ac0ed6d4.php on line 2
    [26-Nov-2019 09:20:59 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/.5ddd1ac0ed6d4.php on line 2
    [26-Nov-2019 09:21:02 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/.5ddd1ac0ed6d4.php on line 2
    [26-Nov-2019 09:21:11 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/.5ddd1ac0ed6d4.php on line 2
    [26-Nov-2019 09:21:14 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/.5ddd1ac0ed6d4.php on line 2
    [26-Nov-2019 16:30:57 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/b3k148zb.php on line 2
    [30-Nov-2019 06:07:25 America/New_York] PHP Deprecated:  Function create_function() is deprecated in /home/odorfuyb/sharethis.today/.5ddd1ac0ed6d4.php on line 2
    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Those aren’t WordPress files. Were you using a caching plugin?

    • This reply was modified 2 months, 2 weeks ago by James Huff.

    Hi there,
    I dont think I was. Here is a picture of all plugins I used:
    https://imgur.com/a/hJFCiYh

    If that matters, i’m using the shared namecheap hosting.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    If that still makes no difference, then I recommend contacting your hosting provider’s support about that last set of errors.

    That did the job! Cheers!

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