Syntax error PHP 7.2
-
When moving from ProfilePress (previous WP User Avatar) I got a critical error on the site. The following error was filling up the logs on PHP 7.2
Got error 'PHP message: PHP Parse error: syntax error, unexpected ')' in /var/www/html/wp-content/plugins/one-user-avatar/includes/class-wp-user-avatar-functions.php on line 564
It can be fixed by removing the comma on line 563, like so:
esc_attr( $size )
Would you be so kind to update the plugin? Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Syntax error PHP 7.2’ is closed to new replies.