Posted: September 3, 2013 at 7:16 am
|
Hi guys, after saving my event, and publish a post with it i receive the following error on that page:
what went wrong? thanks for your help! |
Hi Klaus, That’s an interesting error message. Can you let us know which version of Event Espresso is installed along with the WordPress version number? Also, has anything been customized within the /templates/event_post.php template? |
|
|
No nothing. I even uploaded the original event_post.php file to make sure everything is original. What i did: i customized the event-espresso/includes/functions/email.php according to Tonys help from https://eventespresso.com/topic/e-mail-tags-custom-text-links-only/ (LINE32/85) Everything else is original. I run WP 3.6 with Event Espresso – 3.1.34.1.P |
|
Now i have uploaded the original “event-espresso/includes/functions/email.php”-FILE but error still exists ;( |
Hi Klaus, I believe that you’re seeing this error because 1) Your server is running PHP 5.4 and 2) error display is turned on. Error display should only be turned on while a website is under development. It should never be set to display while in production. While the code in question in event_post.php will need to be updated in order to not throw warnings on servers running PHP 5.4, you can set error display to off by adding this line to your wp-config.php file above any require_once or include commands: @ini_set('display_errors','Off'); |
|
|
thanks. i’ll try that later. so, 5.4 is too old for EE? |
Hi Klaus, PHP 5.4 is a bit on the newer side. Many web servers are still on PHP 5.2, some are on 5.3, and a few have updated to 5.4. |
|
|
Hm, unfortunately that did not work. The error message shows as it did before. <code>/** Sets up WordPress vars and included files. */ @ini_set('display_errors','Off'); require_once(ABSPATH . 'wp-settings.php');</code> |
|
<code>/** Sets up WordPress vars and included files. */ @ini_set('display_errors','Off'); require_once(ABSPATH . 'wp-settings.php');</code> |
|
/** Sets up WordPress vars and included files. */ |
Hi Klaus, Please be sure that wp_debug is set to off in the same file:
and then you can try updating the event that the post was generated from. |
|
|
|
The support post ‘Error "event_post.php on line 60"’ 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.