• Resolved franciscocuadrado

    (@franciscocuadrado)


    Hello:
    I’m writing about the problem I had a week ago on the website. When I went to log in, I found the message “Fatal error”.
    I activated the debug mode of WordPress and I saw that there were three plugins that were causing the problem. I changed the name of all three so that it wouldn’t load them, but I still got a message that I can’t understand. It’s this one:

    Warning: require_once(zip://#template): Failed to open stream: operation failed in /homepages/16/d276533634/htdocs/franciscocuadrado/wp-includes/template.php on line 810

    Fatal error: Uncaught Error: Failed opening required ‘zip://#template’ (include_path=’.:/usr/lib/php8.2′) in /homepages/16/d276533634/htdocs/franciscocuadrado/wp-includes/template.php:810 Stack trace: #0 /homepages/16/d276533634/htdocs/franciscocuadrado/wp-content/themes/Divi-child/functions.php(119): load_template() #1 /homepages/16/d276533634/htdocs/franciscocuadrado/wp-settings.php(668): include(‘/homepages/16/d…’) #2 /homepages/16/d276533634/htdocs/franciscocuadrado/wp-config.php(105): require_once(‘/homepages/16/d…’) #3 /homepages/16/d276533634/htdocs/franciscocuadrado/wp-load.php(50): require_once(‘/homepages/16/d…’) #4 /homepages/16/d276533634/htdocs/franciscocuadrado/wp-blog-header.php(13): require_once(‘/homepages/16/d…’) #5 /homepages/16/d276533634/htdocs/franciscocuadrado/index.php(17): require(‘/homepages/16/d…’) #6 {main} thrown in /homepages/16/d276533634/htdocs/franciscocuadrado/wp-includes/template.php on line 810

    I have tried changing the name of my current theme folder (Divi) without success. I have also entered the PHPMyAdmin database and changed the template and stylesheet fields to those of one of the standard WordPress themes, and it still gives me the same error.

    I’ve checked the Divi-Child’s functions.php, and neither strange in this file nor in template.php.

    I’ve tried replacing everything with a backup made by the server itself (IONOS), using the oldest one, from two week ago, but it still says there’s a critical error.

    I have also tried to change to the php 7.4 version, and I get a similar error to the one I already have (and with the theme changed to one of the basic wordpress themes in the database, as you indicated):

    Warning: require_once(zip://#template): failed to open stream: operation failed in /homepages/16/d276533634/htdocs/franciscocuadrado/wp-includes/template.php on line 810

    Fatal error: require_once(): Failed opening required ‘zip://#template’ (include_path=’.:/usr/lib/php7.4′) in /homepages/16/d276533634/htdocs/franciscocuadrado/wp-includes/template.php on line 810

    Finally, I’ve reinstalled WordPress, not completely not to loose all my contents, but only replacing the folders wp-includes and wp-admin, and still get the same fatal error message.

    I’m a bit desperate, because I don’t know where to look for, and it’s my freelance professional website.

    Anyone can bring a bit of light to this problem?

    Thank you very much

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • threadi

    (@threadi)

    The error is caused at a point in functions.php by the individual child theme. Since we don’t know this file here, we can’t tell you exactly what the problem is.

    Have you ever switched from the child theme to the main theme? Then the message should be gone. If this is the case, you can show us the functions.php file so that we can see if there is a cause.

    However, since you are using a commercial theme as a basis with Divi, I would recommend that you contact Divi support with your request: https://www.elegantthemes.com/contact/ – questions about commercial products cannot be answered here in the forum.

    Thread Starter franciscocuadrado

    (@franciscocuadrado)

    Thank you @threadi:

    I’ve contacted to Elegant Themes. Their answer is that, as far as I have changed the theme template and stylesheet in the wp-options table in the MySQL database (I’ve changed to twentytwentythree), it cannot be a problem with the DIVI theme or the DIVI-Child. Can it be true?

    They have suggested me to reinstall all the wordpress package uploading every file and folder except the wp-content folder and replacing all these files and folders in my ftp server. I’ve done and the message still remains the same!!!

    What else can I do? Any suggestion?
    Thank you in advance.

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