PHP Fatal Error (4.0.7)
-
Hi,
Version 4.0.7 causes various Woocommerce/Wordpress issues and this is the error message that appears in the debug.log:
[10-Aug-2022 20:15:07 UTC] PHP Fatal error: Uncaught TypeError: preg_match() expects parameter 2 to be string, int given in /var/www/my-site/wp-content/plugins/custom-login/functions.php:116
Here’s the stack trace:
Stack trace: #0 /var/www/my-site/wp-content/plugins/custom-login/functions.php(116): preg_match() #1 /var/www/my-site/wp-content/plugins/custom-login/functions.php(44): TheFrosty\CustomLogin\_getEditableRoles() #2 /var/www/my-site/wp-includes/class-wp-hook.php(307): TheFrosty\CustomLogin\{closure}() #3 /var/www/my-site/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #4 /var/www/my-site/wp-includes/plugin.php(476): WP_Hook->do_action() #5 /var/www/my-site/wp-includes/load.php(1102): do_action() #6 [internal function]: shutdown_action_hook() #7 {main}
Had to revert back to 3.2.15
I’m using PHP 7.4, Woocommerce 6.80 and WordPress 6.0.1
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Fatal Error (4.0.7)’ is closed to new replies.