Posted: June 5, 2013 at 6:29 pm
|
Just installed the latest updates: Event Espresso 3.1.33 Event Espresso calendar 2.0.6
Now getting the following error message on all pages: Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/xxxxx/public_html/wp-content/plugins/espresso-social/espresso-social.php on line 156
Running WordPress 3.4.2 |
|
My workaround is to disable the Event Espresso – Social Media plugin. But a fix would be nice. |
What version of the Social Media add-on were you using? Do you have outdated templates in the espresso/templates folder (since you probably just upgraded)? |
|
|
Event Espresso – Social Media 1.1.5
All of the files in the /plugins/event-espresso/templates folder have the date 06/06/2013
|
|
Hi, Sorry about that this seems to have escaped our notice in testing. If you feel comfortable editing the files, you could add the following to the espresso-social.php file in the social plugin directory. if($event_meta == NULL) { $event_meta = array($event_meta); } it will go directly below $event = espresso_get_event( $event_id ); which is on line 155 In the mean time I have submitted this as a potential fix to the developers. |
|
Same issue. Just update, I’ve only just started using it in the last month, haven’t edited anything, and it’s on the stock wordpress theme – should be ideal conditions for it to work correctly. |
|
Editing the espresso-social.php file as suggested by Dean did fix the problem for our website as well. |
|
Dean Robinson‘s code fix resolved issues (there were two more errors which came up after updating Event Espresso Calndar). |
|
@Tim, its only just come to our attention so sorry about that, the guys say the temporary code fix I provided works so you may wish to try that, otherwise please bear with us, I have requested a developer to look into the matter.
@Integrated Listening – other errors? Could you expand on that please, if something else is occurring which this code snippet has fixed we would love to know. Thanks |
Hi everyone! There’s an update for the social buttons add-on now available that fixes the underlying issue. It’s version 1.1.5.1. If you go to Event Espresso>General Savings and save the settings there, it will ping our servers and our servers will send the update notification. Or if you’re reading this in the future, the update notification will already be there. |
|
|
@Dean Yeah, sorry, I should have extrapolated. Before I applied your fix, I saw an update for EE Calendar, and thought it might fix the initial issue. When I installed the update, two more error codes appeared on the top of the screen. I’m sorry, I didn’t wind up copying them before I applied your code fix, which got rid of all the error messages. So, all is well. |
@Integrated Listening There’s an update to the social add-on that fixes the underlying issue that was first reported in this thread. |
|
|
I’m not seeing any update notification. How can I get this fix update? |
|
Hi Andrew, If the notification isnt coming through for some reason, you can try de-activating and reactivating the add on plugin. You can also manually update by downloading the latest version form your account page, deactivating and deleting the plugin on your site and uploading the latest version via the Plugins > Add New > Upload option. |
|
Thanks Dean, that fixed it. |
The support post ‘Update causing error message’ 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.