Post by harap » Mon Jan 23, 2023 7:53 am

I'm using OC v2.2.0.0. and running php7.4.
When Paypal Express checkout selected, it turns an error message page as below:

Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/SorryHided/ on line 330
Warning: Cannot modify header information - headers already sent by (output started at /home/SorryHided/ in /home/SorryHided/ on line 1355

Please help. Thanks in advance!

Active Member


Wed Sep 16, 2015 12:34 am
Location - United States

Post by xxvirusxx » Mon Jan 23, 2023 5:29 pm

Change from this

Code: Select all

$activate_code .= $base{mt_rand(0, $max)};
To this

Code: Select all

$activate_code .= $base[mt_rand(0, $max)];

Upgrade Service | OC PHP 8 | My Custom OC | Buy me a beer

User avatar
Expert Member


Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 1 guest