• Hi all,

    A couple of weeks ago I had this error pop up on my website. Tried a load of different debugging tools and strategies which I have read on the forums and watched on YouTube and struggling to fix it. I have tried deleting my primary theme – Extra and deactivated all plugins and enabled them one-by-one with no luck. I can access the dashboard of the site but frontend nothing shows. Just the navigation bar. Any help would be greatly appreciated! Thanks!

    
    Fatal error: Uncaught Error: Call to undefined function mysql2date() in /customers/4/0/d/phoenixperformers.com/httpd.www/wp-includes/class-wp-query.php:4299 Stack trace: #0 /customers/4/0/d/phoenixperformers.com/httpd.www/wp-includes/class-wp-query.php(4248): WP_Query->generate_postdata(Object(WP_Post)) #1 /customers/4/0/d/phoenixperformers.com/httpd.www/wp-includes/class-wp-query.php(3301): WP_Query->setup_postdata(Object(WP_Post)) #2 /customers/4/0/d/phoenixperformers.com/httpd.www/wp-includes/query.php(970): WP_Query->the_post() #3 /customers/4/0/d/phoenixperformers.com/httpd.www/wp-content/themes/twentyfifteen/index.php(33): the_post() #4 /customers/4/0/d/phoenixperformers.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/4/0/...') #5 /customers/4/0/d/phoenixperformers.com/httpd.www/wp-blog-header.php(19): require_once('/customers/4/0/...') #6 /customers/4/0/d/phoenixperformers.com/httpd.www/index.php(17): require('/customers/4/0/...') #7 {main} thrown in /customers/4/0/d/phoenixperformers.com/httpd.www/wp-includes/class-wp-query.php on line 4299
    
    • This topic was modified 4 years, 10 months ago by Yui. Reason: please use CODE button for code formatting

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Yui

    (@fierevere)

    永子

    Try reinstalling WordPress core files
    via Dashboard: Updates
    there is a button to reinstall core files ( It is safe !)

    or you can download WordPress release package for your version and
    replace .php files , /wp-admin/ , /wp-includes/ folders on your site with unpacked from archive

    https://www.ads-software.com/download/releases/

    Thread Starter greenow987

    (@greenow987)

    Given that a go. No luck

    Moderator Yui

    (@fierevere)

    永子

    Error: Call to undefined function mysql2date()

    this is your error message.

    this function is defined
    https://developer.www.ads-software.com/reference/functions/mysql2date/
    inside file: wp-includes/functions.php

    this error should not happen in case your WP core files integrity is ok.

    If your WP Core files are damaged (notably wp-includes/functions.php), they you can get this error.

    I wonder why

    No luck

    Thread Starter greenow987

    (@greenow987)

    Through my host, one.com, I’ve deleted the wp-dmin and wp-includes folder, whilst also deleting all the plugins and themes. I have then reinstalled the two folders. This does clear the error however, about 30 minutes later I get critical error again.

    Hello dear,

    could you solve the problem? I have the same error ??

    Thanks in advance!

    I have the same (or a very similar) problem. Occasionally I am able to access wp-admin. The behaviour is somewhat erratic. What is consistent is the error message.

    I have debug switched on. I am hosting at one.com. The error seems to have been provoked by some action by one.com . Our website is very quiet due to Covid. We changed nothing to make this error appear.

    I’ll try with one.com

    • This reply was modified 4 years, 6 months ago by stevenlaycock.

    As Yui mentioned above, core files are the culprit.

    This happend to me and the fix was to backup /wp-content/ and wp-config.php then do a fresh install using https://www.ads-software.com/latest.tar.gz

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Critical Error’ is closed to new replies.