View Single Post
  #97  
Old 10-05-2016, 06:43 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart 4.7.6 released: Improved Performance, Bugfixes

Is anyone out there using PHP 7.0 with v4.7.6?
I'm getting some strange errors when adding to cart...
Quote:
[05-Oct-2016 13:01:00] Warning: Illegal string offset 'httpsmod' in /home/site/public_html/include/func/func.tests.php on line 440

[05-Oct-2016 13:01:05] Warning: Invalid argument supplied for foreach() in /home/site/public_html/include/func/func.tests.php on line 390

[05-Oct-2016 13:01:12] Warning: Illegal string offset 'max_cartid' in /home/site/public_html/include/func/func.cart.php on line 3341

[05-Oct-2016 13:01:12] Warning: Illegal string offset 'max_cartid' in /home/site/public_html/include/func/func.cart.php on line 3343

[05-Oct-2016 13:01:12 UTC] PHP Fatal error: Uncaught Error: Cannot increment/decrement string offsets in /home/site/public_html/include/func/func.cart.php:3343
Stack trace:
#0 /home/site/public_html/include/func/func.cart.php(3914): func_generate_cartid()
#1 /home/site/public_html/cart.php(269): func_add_to_cart('0', Array)
#2 {main}
thrown in /home/site/public_html/include/func/func.cart.php on line 3343
This occurs on a fresh install. If anyone has any ideas, please let me know
__________________
xcartmods.co.uk
Reply With Quote