1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

There has been a critical error on your website. Learn more about debugging in WordPress.

Discussion in 'Free Divi Community Forum' started by Scott Allen, Dec 11, 2019.

  1. Scott Allen

    Scott Allen New Member

    I'm getting an error saying, "There has been a critical error on your website. Learn more about debugging in WordPress."

    It must be the Divi theme because it only shows on the front end and when I activate another theme, it works.

    Has anyone else run into this problem?

    Thank you.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Never heard of such issue before. What if you try to disable all your plugins first, then only activate Divi theme.

    If still didn't work, you may want to re-install Divi.

    And if re-installing Divi doesn't solve your issue, it's best for you to refer official Divi support about it: https://www.elegantthemes.com/members-area/help/
     
  3. Brown Pain

    Brown Pain New Member

    My site crashed with the same message. In debug mode, my Wordpress shows these error messages:

    Notice: A non well formed numeric value encountered in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Divi/epanel/custom_functions.php on line 271

    Warning: Illegal string offset 'et_flush_rewrite_rules_library' in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Divi/epanel/custom_functions.php on line 271

    Warning: Illegal string offset 'builder_custom_defaults' in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Divi/epanel/custom_functions.php on line 271

    Recoverable fatal error: Object of class stdClass could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/Divi/epanel/custom_functions.php on line 271

    There has been a critical error on your website.
    Learn more about debugging in WordPress.
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade content toggle design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    I would suggest you to re-install the latest version of Divi & set your PHP version to be 7+.

    1. If you could access WP Admin, then you can easily switch to other themes & delete Divi theme & install it again.
    2. If you couldn't access WP Admin, then you will need to use FTP to delete Divi theme & upload the new version.
    **Here's a tutorial on how to delete Wordpress theme using FTP: https://www.wpsuperstars.net/how-to-delete-wordpress-theme/
     
  5. Eloy

    Eloy New Member

    Hi I have the same problem.

    I add few lines in the conflict to see what is happening, like this:

    Code:
    Log In or Sign Up to view this code.
    And the result is:

    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  6. Eloy

    Eloy New Member

    Ok!!!

    I have investigated a little more, and I solved partialy the problem... which doesn´t solve with the last version. The problem is this line in the database:

    Code:
    Log In or Sign Up to view this code.
    I used a php file to change the domain and seems that it broke everthing!!! I exported the database, and then I was importing it little by little until I discovered the problem was there, I think the php file broke the serializing of the data in that array... isn´t??

    Well... it doesn´t seem a Divi problem, at least in my side.

    PS: Change domain with wordpress is always a nightmare... why wordpress doesn´t use relative paths to the resources?? :/
     
  7. Eloy

    Eloy New Member

    Ummmm... no, I am wrong... the line in the database is not related to the exection of the php file to change the domain. I export the database before execute the php, because to have a data backup.
    So I don´t know how that entry in the database could fail.
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom footer designs for you to choose from:View Demo
  8. Kody-Raphael Sproat

    Kody-Raphael Sproat New Member

    I have found a very helpful guide on debugging theme installation and critical site errors here, How To Fix WordPress Theme Stylesheet Is Missing Error (asphaltthemes.com).

    If you are having trouble installing the Divi theme normally, proceed to unpack the theme, move the .css files from the parent folder (*** /Divi ***), and move them into /Divi/css. Re-zip the loose Divi theme, and then try to upload. Otherwise you can use FTP software to also do this manually.
     
  9. Kody-Raphael Sproat

    Kody-Raphael Sproat New Member

    Also, if you come into any other .css errors, move the original .css files back into the parent folder /Divi to fix.
     
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More
  10. Adam H

    Adam H New Member

    @Eloy - did you ever discover the fix for this error message? I'm experiencing the same thing.