PHPRad Classic Initial 2.7.3 Forum

PHPRad Forum => Issues => Topic started by: twolsey on November 27, 2022, 06:41:34 PM

Title: Fatal error: Cannot redeclare str_contains()
Post by: twolsey on November 27, 2022, 06:41:34 PM
Hello
On my first launch of PHPRad, I am receiving the following error when trying to preview the webpages.

Fatal error: Cannot redeclare str_contains() in C:\xampp\htdocs\project2\helpers\Functions.php on line 524
__________________________________________________________________________________________________________________
function str_contains($needle, $haystack)
{
   return strpos($haystack, $needle) !== false;
}

thank you
Title: Re: Fatal error: Cannot redeclare str_contains()
Post by: willvin on December 06, 2022, 02:24:23 PM
Use the PHP version as indicated on the download page. PHPRad - The Advance Rapid Application Development Environment in PHP/Mysql (https://phprad.com/info/download)