Php 7.1.1 Error

After upgrade PHP 7.0.5 to PHP 7.1.1 site broken

[php7:error] [pid 34996] [client 80.242.43.46:48694] PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in /xxx/web/app/addons/seo/schemas/seo/canonical_urls.php:15\nStack trace:\n#0 /xxx/web/app/functions/fn.common.php(2145): include()\n#1 /xxx/web/app/addons/seo/func.php(2397): fn_get_schema('seo', 'canonical_urls')\n#2 /xxx/web/app/functions/fn.control.php(144): fn_seo_dispatch_before_display()\n#3 /xxx/web/app/functions/fn.control.php(607): fn_set_hook('dispatch_before...')\n#4 /xxx/web/index.php(25): fn_dispatch()\n#5 {main}\n  thrown in /xxx/web/app/addons/seo/schemas/seo/canonical_urls.php on line 15, referer https://site.com

[php7:warn] [pid 39116] [client 80.242.43.46:48710] PHP Warning: Illegal string offset ‘categories’ in /xxx/web/app/addons/seo/schemas/seo/canonical_urls.php on line 15, referer https://site.com/

where could be the problem?

After upgrade PHP 7.0.5 to PHP 7.1.1 site broken

[php7:error] [pid 34996] [client 80.242.43.46:48694] PHP Fatal error:  Uncaught Error: Cannot use string offset as an array in /xxx/web/app/addons/seo/schemas/seo/canonical_urls.php:15\nStack trace:\n#0 /xxx/web/app/functions/fn.common.php(2145): include()\n#1 /xxx/web/app/addons/seo/func.php(2397): fn_get_schema('seo', 'canonical_urls')\n#2 /xxx/web/app/functions/fn.control.php(144): fn_seo_dispatch_before_display()\n#3 /xxx/web/app/functions/fn.control.php(607): fn_set_hook('dispatch_before...')\n#4 /xxx/web/index.php(25): fn_dispatch()\n#5 {main}\n  thrown in /xxx/web/app/addons/seo/schemas/seo/canonical_urls.php on line 15, referer https://site.com

[php7:warn] [pid 39116] [client 80.242.43.46:48710] PHP Warning: Illegal string offset ‘categories’ in /xxx/web/app/addons/seo/schemas/seo/canonical_urls.php on line 15, referer https://site.com/

where could be the problem?

Unfortunately, this is a known issue in current CS-Cart version. Our developers are working on it and it will be fixed in one of the next versions.

For now following workaround should help:

1. Open the app/addons/seo/schemas/seo/canonical_urls.php file of your installation.

2. Add the following line right after the copyright:

$schema = array();

3. Save the changes

CS-Cart 4.5.1 , PHP Version 7.1.1

[php7:info] PHP Deprecated:  Function mcrypt_module_open() is deprecated in xxxx/web/app/lib/pear/Crypt/Blowfish.php on line 108, referer https://xxxx/admin.php
[php7:info] PHP Deprecated:  Function mcrypt_create_iv() is deprecated in xxxx/web/app/lib/pear/Crypt/Blowfish.php on line 109, referer https://xxxx/admin.php
[php7:info] PHP Deprecated:  Function mcrypt_generic_init() is deprecated in xxxx/web/app/lib/pear/Crypt/Blowfish.php on line 276, referer https://xxxx/admin.php
[php7:info] PHP Deprecated:  Function mdecrypt_generic() is deprecated in xxxx/web/app/lib/pear/Crypt/Blowfish.php on line 239, referer https://xxxx/admin.php

i use 4.3.9 php 7.1.4 but its not working? Any different idea solution?

i use 4.3.9 php 7.1.4 but its not working? Any different idea solution?

Your CS-Cart version is not compatible with PHP 7.1. It should be at least CS-Cart 4.4.3

hi i use 4.3.9 multi with php 7.1.4 if add new order status it gives an error

[Mon May 29 13:01:37.321276 2017] [php7:error] [pid 4625] [client 85.345.31.201:57818] PHP Fatal error: Uncaught InvalidArgumentException: Identifier "template.mail.repository" is not defined. in /home/www/domains/sitename.com/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:95\nStack trace:\n#0 /home/www/domains/sitename.com/public_html/app/functions/fn.common.php(3640): Pimple\\Container->offsetGet('template.mail.r...')\n#1 /home/www/domains/sitename.com/public_html/app/controllers/backend/statuses.php(23): fn_update_status('', Array, 'O')\n#2 /home/www/domains/sitename.com/public_html/app/functions/fn.control.php(700): include('/home/www...')\n#3 /home/www/domains/sitename.com/public_html/app/functions/fn.control.php(456): fn_run_controller('/home/www...', 'statuses', 'update', '', '')\n#4 /home/www/domains/sitename.com/public_html/admin.php(27): fn_dispatch()\n#5 {main}\n thrown in /home/www/domains/sitename.com/public_html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 95, referer: http://www.sitename.com/admin.php?dispatch=statuses.manage&type=O