Support

Home Forums Event Espresso Premium Homepage no longer loading

Homepage no longer loading

Posted: June 11, 2020 at 3:05 pm


KGM_Adm

June 11, 2020 at 3:05 pm

After event espresso updated, my homepage no longer loads. I just have a white screen visible. I have tried to disable all plugins but event espresso but that did not solve it. I am not sure which version of event espresso I should be using and think I need to reinstall it how can I do so without losing my license?


Tony

  • Support Staff

June 11, 2020 at 3:08 pm

Hi there,

A whitescreen means your site is throwing a fatal error, reinstalling Event Espresso may well be the solution, but what you need is the actual error being thrown to know for sure.

Your host will usually have a section for you to view errors on your control panel, if your check there can you see any ‘fatal errors’ being thrown?

Or, add this code to your wp-config.php file:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

That block of code replaces the single like you likely already have in that file:

define( 'WP_DEBUG', false );

Then let me know and I’ll check.


KGM_Adm

June 11, 2020 at 5:15 pm

Alright, I have updated to the latest version of wp and updated event espresso and now turned on the debugger, I now see this one top of the white screen.

Notice: Trying to get property ‘registered’ of non-object in /www/wp-content/themes/inspire/includes/theme-functions.php on line 139 Notice: Trying to get property ‘ver’ of non-object in /www/wp-content/themes/inspire/includes/theme-functions.php on line 139 Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wordpress/wp-includes/functions.php on line 5167 Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wordpress/wp-includes/functions.php on line 5167 Notice: Undefined offset: 0 in /wordpress/wp-includes/plugin.php on line 924 Notice: Undefined offset: 0 in /wordpress/wp-includes/plugin.php on line 927 Deprecated: _preview_theme_template_filter is deprecated since version 4.3.0 with no alternative available. in /wordpress/wp-includes/functions.php on line 4723 Deprecated: The called constructor method for WP_Widget in Woo_News is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_Feedback is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_flickr is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_Twitter is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_Tabs is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_Search is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_AdWidget is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: The called constructor method for WP_Widget in Woo_BlogAuthorInfo is deprecated since version 4.3.0! Use __construct() instead. in /wordpress/wp-includes/functions.php on line 4806 Deprecated: get_bloginfo was called with an argument that is deprecated since version 2.2.0! The home option is deprecated for the family of bloginfo() functions. Use the url option instead. in /wordpress/wp-includes/functions.php on line 4997 Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /wordpress/wp-includes/class-wp-hook.php on line 287 Notice: Undefined variable: output in /www/wp-content/themes/inspire/includes/theme-actions.php on line 60 Fatal error: Uncaught Error: Call to undefined function split() in /www/wp-content/themes/inspire/header.php:34 Stack trace: #0 /wordpress/wp-includes/template.php(723): require_once() #1 /wordpress/wp-includes/template.php(672): load_template(‘/www/wp-content…’, true) #2 /wordpress/wp-includes/general-template.php(41): locate_template(Array, true) #3 /www/wp-content/themes/inspire/index.php(1): get_header() #4 /wordpress/wp-includes/template-loader.php(106): include(‘/www/wp-content…’) #5 /wordpress/wp-blog-header.php(19): require_once(‘/wordpress/wp-i…’) #6 /www/index.php(17): require(‘/wordpress/wp-b…’) #7 {main} thrown in /www/wp-content/themes/inspire/header.php on line 34


Tony

  • Support Staff

June 12, 2020 at 3:17 am

Fatal error: Uncaught Error: Call to undefined function split() in /www/wp-content/themes/inspire/header.php:34

That’s what is stopping the page from loading.

Any updates for the theme?

Can you add the code in /wp-content/themes/inspire/header.php on PasteBin and post the link here so I can take a look?


KGM_Adm

June 12, 2020 at 10:06 am

Ah I see, I’ve pasted the code here: https://pastebin.com/W7JiM5US


Tony

  • Support Staff

June 12, 2020 at 10:17 am

Yeah ok, it’s an issue with your theme.

split() was removed from PHP in version 7.0.0

An alternative function to use is explode()

You mentioned this happened after an Event Espresso update, but this has nothing to do with Event Espresso. Either PHP was updated on your server or this option $woo_options['woo_featured_disable'] is not set to false when previously is was set to true.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 3 weeks, 6 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!