Support

Home Forums Event Espresso Premium Error message at top of EE pages

Error message at top of EE pages

Posted: August 11, 2022 at 9:09 am

Viewing 5 reply threads


vlm

August 11, 2022 at 9:09 am

I’m getting an error message at the top of EE pages.

The error says:
Warning: Declaration of EventEspresso\core\domain\entities\DbSafeDateTime::createFromFormat($format, $time, ?DateTimeZone $timezone = NULL) should be compatible with DateTime::createFromFormat($format, $time, $object = NULL) in /home/forge/startingpoint.org/public/wp-content/plugins/event-espresso-core-reg/core/domain/entities/DbSafeDateTime.php on line 0

View here: https://startingpoint.org/events/2022-golf-classic/

Please help with getting this removed. Thanks.


Tony

  • Support Staff

August 11, 2022 at 5:18 pm

Hi there,

That warning (it isn’t really an ‘error’) means your server is running PHP8.1 and Event Espresso is currently not fully compatible with PHP8 at this time.

Whilst it is possible (and in fact recommended) that your server is set up to not display warnings/notices/errors thrown on the page itself I recommend contacting your host and have them switch your site to use PHP7.4 at this time.

You may have an option to do this yourself within your hosts control but if not you will need to open a ticket with them to have them do it for you.


vlm

August 12, 2022 at 7:24 am

This site is actually running an older outdated version of php, (7.1.11). Would this message be caused by this outdated version of php as well?


Tony

  • Support Staff

August 12, 2022 at 10:02 am

Oddly, yes.

I checked against PHP7.1.33 and can see that warning thrown.

Then it’s no longer thrown on my site with PHP7.2/3/4/8.0 until 8.1


vlm

August 12, 2022 at 10:10 am

Thank you for your help. Much appreciated!


Tony

  • Support Staff

August 12, 2022 at 10:59 am

You’re most welcome 🙂

Viewing 5 reply threads

The support post ‘Error message at top of EE pages’ 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