Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › PHP 7 error 10x times
This topic contains 6 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 9 months ago.
- AuthorPosts
- December 6, 2016 at 12:01 pm #11168December 6, 2016 at 12:03 pm #11170
sorry, i forgot.
The login page:December 6, 2016 at 12:06 pm #11173Hi Tamas,
From what I can see on the (partial) screenshot, the errors does not seem to be referring to ajax search pro plugin. If you want, you can copy/paste the error message here to confirm.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 6, 2016 at 12:08 pm #11174Sorry i attached a wron picture but here is the right one plus the error message:
FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/actions/class-asp-abstract.php
———————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————
49 | ERROR | Visibility for magic method __sleep must be public. Found: protected
———————————————————————————————————————————FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/ajax/class-asp-abstract.php
——————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————
49 | ERROR | Visibility for magic method __sleep must be public. Found: protected
——————————————————————————————————————————FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-dbman.php
—————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————————————
175 | ERROR | Visibility for magic method __sleep must be public. Found: private
—————————————————————————————————————————FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-init.php
————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————–
251 | ERROR | Visibility for magic method __sleep must be public. Found: private
————————————————————————————————————————–FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-instances.php
——————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————-
302 | ERROR | Visibility for magic method __sleep must be public. Found: private
——————————————————————————————————————————-FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-manager.php
—————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————————————————————–
373 | ERROR | Visibility for magic method __sleep must be public. Found: private
—————————————————————————————————————————–FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/etc/synonyms.class.php
————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————-
55 | ERROR | Visibility for magic method __sleep must be public. Found: private
————————————————————————————————————————-FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/etc/updates.class.php
————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————
323 | ERROR | Visibility for magic method __sleep must be public. Found: private
————————————————————————————————————————FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/filters/class-asp-abstract.php
———————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————
49 | ERROR | Visibility for magic method __sleep must be public. Found: protected
———————————————————————————————————————————FILE: /home/urespolo/public_html/gymammoth.com/wp-content/plugins/ajax-search-pro/includes/classes/shortcodes/class-asp-abstract.php
————————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————————
49 | ERROR | Visibility for magic method __sleep must be public. Found: protected
————————————————————————————————————————————Attachments:
You must be logged in to view attached files.December 6, 2016 at 12:17 pm #11178Hi,
This should not cause any issues, as these magic methods are not used in this context of class abstractions. I have tested the plugin on a php7 environment, but these errors did not appear, as the functions were not used.
I will not this as a possible bug, and change the magic method visibilities to pulbic for the next release.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
December 6, 2016 at 12:19 pm #11179Thank you!
Can i ask you when is gona be the new relase?
We would like to change ASAP to PHP 7.
I am waithing for your reply!
B.R.
Tamas
December 7, 2016 at 1:35 pm #11193Hi Tamas,
I have just re-tested the plugin on a PHP 7 centOS machine, and it triggered no error messages mentioned above. You can change the PHP version safely, it should not be a problem.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.