I have EE3 installed and I’m trying to upgrade to EE4. I followed the procedure of deactivating EE3 and all related plugins before trying to activate EE4.4.6.p. When I try to activate EE4 I receive the following message
Fatal error: Call to undefined method wpdb::set_sql_mode() in /home8/reativw3/public_html/cpa/wp-content/plugins/event-espresso-core-reg1/core/EE_System.core.php on line 165
I went into the PHP file and this is the section of code that seems to be the problem:
//ask that MySQL be forgiving of our mistakes, at least until we have time to iron them out properly
add_filter( ‘incompatible_sql_modes’, array( $this, ‘make_scrict_sql_incompatible’ ) );
add_filter( ‘required_sql_modes’, array( $this, ‘remove_strict_sql_requirement’ ) );
//and because wpdb has already set mode, we want to reset it
global $wpdb;
$wpdb->set_sql_mode();
Any ideas on what to do?
I’m running WP version 3.8.5 and I’m upgrading from EE 3.1.36.6.P.
We added a check for wpdb::set_sql_mode so EE4.4.7 and greater will activate if you’re on WP 3.8.
Viewing 5 reply threads
The support post ‘Unable to activate EE 4.4.6.p, Fatal Error: wpdb::set_sql_mode()’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.