Home › Forums › Calendar Products › Events Calendar PRO › After update getting warning and error message
- This topic has 4 replies, 2 voices, and was last updated 8 years, 4 months ago by
Brian Petruzzi.
-
AuthorPosts
-
December 8, 2017 at 8:46 am #1401406
Brian Petruzzi
ParticipantWe recently updated our event calendar Pro, and now we are getting at this warning message:
Warning: trim() expects parameter 1 to be string, array given inwp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 2397
I have to disable both plugins to remove the message. Please assist.
December 11, 2017 at 7:04 am #1402830Jaime Marchwinski
KeymasterHi Brian,
Thanks so much for reaching out!
As a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
In the meantime, let’s try to rule out if there is some type of conflict at play.
This is usually because of:1. A conflict with another plugin
2. A conflict with your WordPress theme
3. A template customization for the Events Calendar that requires updating
When it comes to that type of issue, it is preferable to troubleshoot in a staging environment if you have one.
A first quick test is to simply temporarily revert back to a default WordPress theme such as twenty-sixteen to see if the issue persists.
The next step would be to go through our testing for conflicts procedure and let us know what you find out.
Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
But, before you do that, there are 2 things I would advise:
1. Make a backup of your database
2. Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)
Let me know how that goes!
Thanks,
Jaime
December 12, 2017 at 7:29 am #1403585Brian Petruzzi
ParticipantSO I think I figured out the issue. I was hesitant to update my WordPress core to the latest version due to some custom coding in templates that I use. After updating the error disappeared.
December 12, 2017 at 11:28 am #1403953Jaime Marchwinski
KeymasterGlad you were able to figure things out, you are welcome back in our support forums any time!
Since you marked this thread as Resolved, I am going to close this thread.
Have a great week!
-
AuthorPosts
- The topic ‘After update getting warning and error message’ is closed to new replies.
