Support

Home Forums Event Espresso Premium Warning

Warning

Posted: June 9, 2014 at 4:08 pm


cporter

June 9, 2014 at 4:08 pm

On my events, the following message is displayed:

Warning: Creating default object from empty value in /redacted/public_html/wp-content/plugins/event-espresso.3.1.21.P/templates/registration_page.php on line 69

Any thoughts on how to get rid of this?

  • This topic was modified 9 years, 11 months ago by  Lorenzo Orlando Caum. Reason: redact folder location


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 5:09 pm

Hello,

Your WordPress site may have WP Debugging on. Debugging is used for troubleshooting and should be turned off on a live site.

Please add the following to your wp-config.php file (middle of file is a safe location):

define('WP_DEBUG', false);
  if (WP_DEBUG) {
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', true);
    @ini_set('display_errors', 0);
}

It should replace any existing debugging macro that you see in your wp-config.php file.

Also, you appear to be running a version of Event Espresso that is a couple years old.

We support the current software.

Here is a link to the change log so you can see changes since then:

https://eventespresso.com/wiki/change-log/


Lorenzo


cporter

June 9, 2014 at 5:37 pm

Thanks Lorenzo!
I made the change to the wp-config.php file but no improvement.
I have purchased a new license and am wanting to put the license key but there is no spot in General Settings to do that.


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 5:49 pm

Hello,

Your host may have debugging display enabled on a higher level than WordPress. Could you please ask them to turn it off?

http://www.php.net//manual/en/function.error-reporting.php

For the update, a manual update may be required and I can share steps on how to do that.

Do you know if there have been any edits to the core plugin?


Lorenzo


cporter

June 9, 2014 at 6:48 pm

The host gave your suggestion a go and the warning still exists. So, I will upgrade and see if that fixes the problem.

There have been no edits to the core plugin. Yes, can you send me the manual update steps.

Thanks!


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 7:56 pm

Could you check your wp-config.php file to ensure that there aren’t multiple debug macros.

Here are the steps for an update:

1) Begin by backing up your WordPress:

https://codex.wordpress.org/WordPress_Backups

2) Next, download the latest version of your Event Espresso core software and any addons that you are using from your account:

https://eventespresso.com/users/cporter/

3) Now login to your WordPress admin and go to Plugins. Locate Event Espresso in the list of plugins and deactivate it.

4) Next login to your WordPress root with an SFTP or FTP client (FileZilla and Cyberduck are free options). Then browse to the WordPress plugins folder: wp-content/plugins

5) Locate the Event Espresso folder and relocate it one level above the WordPress plugins folder and add old to the end of the folder name: wp-content/event-espresso-old

6) Repeat the step five for any Event Espresso addons.

7) Return to the Plugins screen in the WordPress admin and click on Add New –> Upload. Then browse to the zip file that you downloaded from your account. Select it and begin the upload process. You can activate Event Espresso after it has finished.

8) Then install any addons by repeating step 7.

We also have a guide here: https://eventespresso.com/wiki/updating-event-espresso/#update_manually

The difference between the steps above and the link above is that you’ll relocate the old plugin folder(s).


Lorenzo

The support post ‘Warning’ 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.

Event Espresso