A collection of articles, posts, tutorials and help on Joomla and Joomla Extensions. Please link to us or leave your comment and rating.
The following php error is likely to occur when your site PHP version has been changed from PHP 5.xx to the new PHP 7 version.
The culprit is likely to be the file "php.ini" which was left and wrongly added at root level.
Notice: Undefined variable: _SERVER in /home/yoursitename/public_html/libraries/cms.php
To correct this issue, simply rename your php.ini to phpold.ini.txt and it should do the trick.
Please note that Siteground (hosting provider), tends to automatically add a php.ini at root folder during site transfer or creation of a new CMS site.