Hoping to get some assistance in finding out why this site will not load if the account is updated from PHP 5.6 to PHP 7.1. The website uses the Curb Appeal template with vertex version 4.2.3. The live site is currently running with PHP 5.6. But if I update the PHP version, I'm getting a 500 Internal Server Error. And a stream of email from the site with the subject matter of:
Unhandled exception - ArgumentCountError
and first few lines of the email read:
A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: ArgumentCountError
File: /home/.../public_html/templates/curb_appeal/vertex/general_functions.php
Line: 64
Message: Too few arguments to function change_Color(), 1 passed in /home/.../public_html/templates/curb_appeal/index.php on line 60 and exactly 2 expected
#0 /home/.../public_html/templates/curb_appeal/index.php(60): change_Color('16445a')
#1 /home/.../public_html/libraries/src/Document/HtmlDocument.php(658): require('/home/smithstee...')
#2 /home/.../public_html/libraries/src/Document/HtmlDocument.php(720): Joomla\CMS\Document\HtmlDocument->loadTemplate('/home/smithstee...', 'index.php')
#3 /home/.../public_html/libraries/src/Document/HtmlDocument.php(535): Joomla\CMS\Document\HtmlDocument->fetchTemplate(Array)
#4 /home/.../public_html/libraries/src/Application/CMSApplication.php(1030): Joomla\CMS\Document\HtmlDocument->parse(Array)
#5 /home/.../public_html/libraries/src/Application/SiteApplication.php(778): Joomla\CMS\Application\CMSApplication->render()
#6 /home/.../public_html/libraries/src/Application/CMSApplication.php(202): Joomla\CMS\Application\SiteApplication->render()
#7 /home/.../public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#8 {main}
There's more to the email but it's quite long so won't post it all here.
Will provide any log in credentials you may need privately. Thanks