• Started with his error out of nowhere –

    Fatal error: Uncaught Error: Call to undefined function twentytwentyone_the_html_classes() in /home/florida8/public_html/viveiv/wp-content/themes/vivelv/header.php:17 Stack trace: #0 /home/florida8/public_html/viveiv/wp-includes/template.php(810): require_once() #1 /home/florida8/public_html/viveiv/wp-includes/template.php(745): load_template(‘/home/florida8/…’, true, Array) #2 /home/florida8/public_html/viveiv/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /home/florida8/public_html/viveiv/wp-content/themes/vivelv/template-parts/template-home.php(5): get_header() #4 /home/florida8/public_html/viveiv/wp-includes/template-loader.php(106): include(‘/home/florida8/…’) #5 /home/florida8/public_html/viveiv/wp-blog-header.php(19): require_once(‘/home/florida8/…’) #6 /home/florida8/public_html/viveiv/index.php(17): require(‘/home/florida8/…’) #7 {main} thrown in /home/florida8/public_html/viveiv/wp-content/themes/vivelv/header.php on line 17

    then I logged into wp-admin – updated everything (core and plugins) – problem persisted. Attempted to change theme and now locked out of wp-admin with current error –

    Warning: require_once(zip://#archive): failed to open stream: operation failed in /home/florida8/public_html/viveiv/wp-includes/template.php on line 810

    Fatal error: require_once(): Failed opening required ‘zip://#archive’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/florida8/public_html/viveiv/wp-includes/template.php on line 810

    There has been a critical error on this website.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi there. It seems there’s an issue with your template. Try to regain control by deactivating the template.
    1. Gain access of your site using FTP or PhPMyAdmin. Before moving forward, keep a backup of al of your files.
    2. Then go to wp-includes, and disable the template section.
    3. Now try to log in to your site.
    The problem should be solved.

    You’ll have to work around to find which template is casing the problem though.

    Hope this helps.

    Thread Starter kublid

    (@kublid)

    Thank you – so it looks like it was a template issue as you mentioned above and I gained access to wp-admin. Is there a way to figure out what in the template started this issue all of a sudden? This template was designed for my site and need it to continue to function, or our site is completely down. Thanks!

    Thread Starter kublid

    (@kublid)

    This is current template error:

    Fatal error: Uncaught Error: Call to undefined function twentytwentyone_the_html_classes() in /home/florida8/public_html/viveiv/wp-content/themes/vivelv/header.php:17 Stack trace: #0 /home/florida8/public_html/viveiv/wp-includes/template.php(810): require_once() #1 /home/florida8/public_html/viveiv/wp-includes/template.php(745): load_template(‘/home/florida8/…’, true, Array) #2 /home/florida8/public_html/viveiv/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /home/florida8/public_html/viveiv/wp-content/themes/vivelv/template-parts/template-home.php(5): get_header() #4 /home/florida8/public_html/viveiv/wp-includes/template-loader.php(106): include(‘/home/florida8/…’) #5 /home/florida8/public_html/viveiv/wp-blog-header.php(19): require_once(‘/home/florida8/…’) #6 /home/florida8/public_html/viveiv/index.php(17): require(‘/home/florida8/…’) #7 {main} thrown in /home/florida8/public_html/viveiv/wp-content/themes/vivelv/header.php on line 17

    There has been a critical error on this website.

    The theme was customised for your website. Apparently it uses functions from the TwentyTwentyOne theme, which no longer exist. You therefore have 2 options for a solution:

    a) You would have to have your current theme customised to be compatible with TwentyTwentyOne again. Please contact the original developer. If this is not available, you may be able to find someone here: https://jobs.wordpress.net/

    b) Change the theme, e.g. to TwentyTwentyFour or any other which matches your requirements. The error will then no longer occur.

    I updated TwentyTwentythree theme and got this error message preventing me from accessing the site: “Warning: require_once(zip://#archive): Failed to open stream: operation failed in E:\Local Sites\rfsc\app\public\wp-includes\template.php on line 810”.

    How do you disable the template section as previous advised in this forum? How can I revert to the previous version of the theme? Thank you.

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