Warning message moving from PHP 7.4 to PHP 8.1
-
Moving from PHP 7.4 to PHP 8.1 trigger this warning message
( ! ) Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in \wp-content\plugins\wp-syntax\wp-syntax.php on line 383
Solution:
Remove the ampersand before $match at the line 241New 241 line:
public static function substituteToken( $match ) {
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Warning message moving from PHP 7.4 to PHP 8.1’ is closed to new replies.