Hi. I was having difficulty with a page that used the eventon – event lists shortcode. There were 2 issues:
I enabled some more debugging and found thousands of errors like this:
PHP Notice: Trying to get property of non-object in /var/www/professional/wp-content/plugins/eventon-single-event/includes/class-frontend.php on line 130
that line of code is the first line in the function add_social_media_to_eventcard which applies the $object parameter to the code. The code is expecting an object, but in my environment, $object is NULL.
I commented out all of the code in the function and the site works but commenting out the function is just a workaround.
I am not clear on what the root cause or solution is. Could you take a look at what might be happening? I see two possible solutions:
A) reconfigure this app so that $object is not NULL
B) implement plugin code that handles a NULL $object in that function.
Thank you!
Tim Thorp
Jan 17,2017 AT 11:38AM - 5 years ago -You haven’t provided your website address.
I am actually getting server error on that url.
You should ask your host to raise the memory for your account.
It has been raised from 256M to 1024M
The issue persists – my question to you is “why is $object NULL in my environment”?
Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patient and thank you for being a eventon customer!
Thank you. I want to mention as well that in this hosting environment, I also had an issue with a twitter-feed plugin and the root cause for that issue was that the php-xml extension wasn’t installed on the machine.
Please send us FTP access and username/password for the backend to your site as a private message, so we can perform several tests from our end and resolve your issue fast!
ok.
Now, the page is working:
https://professional.brown.edu/eventlist/
If you want us to look further, we will need ftp access. We do not use screenshare. Sorry.
affirmative. Did you do something?
I am not sure what was done by ashish but single event addon should be deactivated in new eventon version as it is a part of eventon now. May be thats what ashish did 🙂