Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Excel Reports Still Failing | Event Espresso - Staging Server
Previously, I was instructed to change line 501 of the export functions php file to correct an error generated because my version of PHP is a little out of date. I would upgrade, but we are in the middle of a major event and updates to the server are forbidden until we end the event. I updated with the suggested code:
$scanned_date_object = DateTime::__construct($participant->date_scanned);
However, this provides a new error in the exported excel function:
<b>Fatal error</b>: Non-static method DateTime::__construct() cannot be called statically in <b>/home4/ab45863/public_html/2013/wp-content/plugins/event-espresso/includes/functions/export.php</b> on line <b>501</b><br />
What do I need to do to correct this error so I can use the export reporting functions of event espresso?
Until they can make the date scanned feature of the export to be compatible with verisons of PHP that are lower than 5.3 (or until you can have your host upgrade the version of PHP), one way to work around the issue for now is to comment out the code starting on line 500 of export.php. It will look like this after it has been commented out:
The support post ‘Excel Reports Still Failing’ 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.