Error messages on mobile and desktop imac view of website

On mobile view (iphone Xs) the site is civing a load of error messages in the header above the logo -

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/plugins/cornerstone/includes/dynamiccontent/Random.php on line 182

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/plugins/cornerstone/includes/dynamiccontent/Random.php on line 182

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/plugins/cornerstone/includes/dynamiccontent/Random.php on line 182

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/plugins/cornerstone/includes/dynamiccontent/Random.php on line 182

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/plugins/cornerstone/includes/dynamiccontent/Random.php on line 184

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/plugins/cornerstone/includes/dynamiccontent/Random.php on line 184

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/themes/x/framework/legacy/functions/fonts.php on line 45

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/wp-content/themes/x/framework/legacy/functions/fonts.php on line 46

the following message appear in the header above the logo bar on desktop view on an imac running Chrome:

Warning : Undefined array key “HTTP_REFERER” in /var/www/wp-content/themes/x-child-renew/x-child-renew.theme#archive on line 43

No messages appear on my windows laptop running Chrome.

Hello @jimmillard,

Thanks for writing to us.

As per your given screenshot, it seems that there is an issue with your child theme. I would suggest you please deactivate the child theme and activate the parent theme. There is a deprecated function notice as well I would suggest you go to the WordPress installation root directory wp-config.php file and find this code define('WP_DEBUG', true); you need to change it into the define('WP_DEBUG', false);

Please find the video that will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.