Using PHP 8.x Causes Site to Crash
-
Hi @hyenokian,
My site crashed, and WordPress reported fatal errors. Upon inspecting, it appears that AYS Popup Box is not PHP 8.2+ compatible (and is certainly [unfortunately] the culprit). I reverted my site to PHP 7.4, the errors went away, and the site functions fine. Would you update this plugin to be compatible with PHP 8.2+?
Here’s the part that’s causing the error:
Fatal error: Uncaught TypeError: str_replace():
Argument #2 ($replace) must be of type string when argument #1 ($search) is a string
.../plugins/ays-popup-box/includes/class-ays-pb-data.php:74
str_replace('%%post_author_r...', Array, 'You can give in...')Thank you for your help!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.