Jump to content

Warning on line 66 in file Cannot use a scalar value as an array


Sgt1966

Recommended Posts

Installed 1.7.0.2 and when attempting to logon to Admin receive the following message:

 

Warning on line 66 in file /home/....../public_html/config/smartyadmin.config.inc.php
[2] Cannot use a scalar value as an array

 

this is a repeated problem by many others as well.

 

how to solve in the Prestashop 1.7.0.2 product ?

Link to comment
Share on other sites

I have same problem as yours in PrestaShop 1.7.0.2 production, not development version.

 

 

Also in some places, there is "HTMLSPECIALCHARS" instead of module name, theme name, or another another different types of variable across PrestaShop.

post-1351828-0-26438800-1482005706_thumb.jpg

 

 SERVER INFORMATION:

Informácie o serveri: Linux #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64

Verzia serverového softvéru: Apache

PHP verzia: 7.0.13-1~dotdeb+8.1

Limit pamäte: 128M

Maximálna doba vykonávania: 120

Max. veľkosť nahrávaného súboru: 2M

Edited by PaulD (see edit history)
Link to comment
Share on other sites

yes, you need to update manually those files either by editing the lines in question or by completely replacing the existing installed files with the Github ones.

thanks a lot !

 

Are you using PHP 7.1.0 by any chance?

 

dunno if u'Re asking me, but - no, i'm not

 

Informace o serveru

Server information: Linux #1 SMP Thu Dec 8 14:04:32 EST 2016 x86_64

Server software version: Apache

PHP version: 5.4.45

Memory limit: 128M

Max. doba provádění: 30

Upload Max File size: 20M

Informace o databázi

MySQL version: 5.5.52-0ubuntu0.12.04.1

MySQL engine: InnoDB

MySQL driver: DbPDO

 

menu_configure

PrestaShop version: 1.7.0.2

Current theme in use: classic

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...