How to fix WordPress errors in the theme’s functions.php file

Solution:

The error is caused by a missing single quote.

Incorrect:

$address = ‘yourmail@gmail.com;

Correct:

$address = ‘yourmail@gmail.com’;

Make sure the string is properly enclosed in quotes.