Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Problem with PHP 8.0.27
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 1 year, 3 months ago.
- AuthorPosts
- January 12, 2023 at 11:00 am #40869
When switching to PHP 8.0.21 this happens:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /var/www/vhosts/egf.de/httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/Hooks/Actions/IndexTable.php:150\nStack trace:\n#0 /var/www/vhosts/egf.de/httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/Hooks/Actions/IndexTable.php(150): in_array()\n#1 /var/www/vhosts/egf.de/httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/Hooks/ActionsManager.php(226): WPDRMS\\ASP\\Hooks\\Actions\\IndexTable->cron_extend()\n#2 /var/www/vhosts/egf.de/httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/Hooks/ActionsManager.php(165): WPDRMS\\ASP\\Hooks\\ActionsManager::registerCron()\n#3 /var/www/vhosts/egf.de/httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/Core/Manager.php(344): WPDRMS\\ASP\\Hooks\\ActionsManager::registerAll()\n#4 /var/www/vhosts/egf.de/httpdocs/wp-content/plugins/ajax-search-pro/includes/classes/Core/Manager.php(75): WPDRMS\\ASP\\Core\\Manager->loadH...', referer: https://www.egf.de/wp-admin/options-general.php?page=updraftplus&tab=backups
January 12, 2023 at 5:10 pm #40888Hi,
This looks like some sort of an issue with the cron job trigger. Can you please turn off the index cron triggers temporarily to see if the issue comes back?
Best,
I will check the reported lines for the possible triggers.
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.