Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Plugin causing errors
- This topic has 9 replies, 2 voices, and was last updated 10 years, 7 months ago by
Ernest Marcinko.
-
AuthorPosts
-
October 22, 2015 at 7:38 pm #6415
phasma31
ParticipantRandomly when I save or make an update I get a php error and then have to deactivate the plugin and reactivate to get the site to work again. The lite version worked fine.
Please advise.
Trent
-
This topic was modified 10 years, 7 months ago by
Ernest Marcinko. Reason: updated log-in
October 22, 2015 at 7:40 pm #6416Ernest Marcinko
KeymasterHi!
I was unable to log in with the credentials, can you please take a look at it?
In the meantime can you please copy-paste the error message? It would be extremely helpful.
October 22, 2015 at 7:46 pm #6417phasma31
Participantsorry,
** removed for security **
I’m working on it now, did not think to grab the error, I’ll send when it happens again.
Thank you,
-
This reply was modified 10 years, 7 months ago by
Ernest Marcinko.
October 22, 2015 at 7:53 pm #6420Ernest Marcinko
KeymasterI’ve tried to make a test draft post and save it if the error appears, but I couldn’t see any error messages.
I also made a test search instance and saved it, but no error messages either. Maybe it’s specific to something. Try to grab the whole error message in case it happens again, and we figure it out 🙂
October 22, 2015 at 7:54 pm #6421phasma31
ParticipantFatal error: Cannot call overloaded function for non-object in /home/content/p3pnexwpnas10_data02/28/2572228/html/wp-content/plugins/ajax-search-pro/includes/hooks.php on line 206
October 22, 2015 at 7:56 pm #6422phasma31
ParticipantFatal error: Cannot call overloaded function for non-object in /home/content/p3pnexwpnas10_data02/28/2572228/html/wp-content/plugins/ajax-search-pro/includes/asp_init.class.php on line 241
October 22, 2015 at 8:03 pm #6423Ernest Marcinko
KeymasterI think I might know how to fix it very easily, but I don’t know what’s the cause though.
Open the Compatibility Settings submenu under the ajax search pro menu, and hit the Save button without changing anything. The error refers to unset variables regarding the compatibility options, and this should refresh the values.
I’ve checked the lines the error message is referring to, but I need to run some tests why the error message is triggered, as I have no idea yet.
October 22, 2015 at 8:18 pm #6424Ernest Marcinko
KeymasterI’ve did some googling around and if you still have this issue, it’s probably related to GoDaddy hosting.
I found 2 very relatable threads:
and
Someone there managed to fix the issue by switching to PHP 5.5 on the godaddy back-end:
Hi All,
Just wanted to share how I fix the issue. In the cpanel control panel, choose “Select PHP version”. Then I select “PHP Version 5.5”. Then click save.
-Jess-
October 22, 2015 at 8:34 pm #6425phasma31
ParticipantI am using managed wordpress so there is no cpanel to go into.
I saved the compatibility setting as suggested, I’ll see if that helps.
Also can you tell me why the search bar is rendering differently on two different pages. I cloned the original search and just removed some custom fields
https://servicecxn.com/installation/ correct look
https://servicecxn.com/assembly-2/ wide and not desired
Thank you
October 22, 2015 at 8:39 pm #6426Ernest Marcinko
KeymasterHi!
Good, I’m hoping it helps.
I’ve flushed the cache and refreshed the page with CTRL + R and they are look the same now to me. If you use cahce don’t forget to flush it or disabling it until you finish with modifications. The search stylesheets are stored in one file for better performance, and the server was still serving the old one, where the second one does not existed, and it looked weird.
-
This topic was modified 10 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.