News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Illegal string offset 'extensions'

Started by JerryPF, March 18, 2017, 09:41:40 PM

Previous topic - Next topic

JerryPF

Hi there,

I'm using AbanteCart 1.2.9 and PHP 7.1.3 on a Linux server.

I haven't installed any extension.
When I try to install an extension, using "Install extension", extension upload, after I select the local .tar.gz file and press "Continue", all I see is a blank screen, instead of the extension agreement text.

The AbanteCart System Error log is showing the below lines:
warning: AbanteCart core v.1.2.9 Illegal string offset 'extensions' in <b>/var/www/html/AbanteCart-129/admin/controller/pages/tool/package_installer.php</b> on line <b>540</b>

AbanteCart core v.1.2.9 Cannot use string offset as an array in <b>/var/www/html/AbanteCart-129/admin/controller/pages/tool/package_installer.php</b> on line <b>540</b>

The HTTP error log shows no errors about this at all.

I've searched this forum for solutions but could not find anything about this.

Has anyone had this error before, and found a solution to this problem?
Please let me know.

Thanks for your help.

abantecart

What you posted is a warning and should not cause your issue, but you can try the fix here:

https://github.com/abantecart/abantecart-src/commit/e70cf663ad489dcc6fb59462411f4f1e86714b6e

If this does not help, check apache log ("The HTTP error log shows no errors about this at all.") Is this apache log you checked?

Blank page usually indicates PHP crash. You can try to enable PHP error to be shown to the screen:


In php.ini

error_reporting = E_ALL
display_errors = 1
display_startup_errors = 1
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -