nukua Posted January 21, 2016 Share Posted January 21, 2016 Hi all, i have this error, prestashop ver 1.6.1.4 mod_fcgid: stderr: PHP Warning: Illegal offset type in isset or empty in /var/www/vhosts/domain.com/classes/Tools.php on line 1394 Code line 1394-1400 if (isset($array_str[$str])) { return $array_str[$str]; } if (!is_string($str)) { return false; } Any idea? Thanks Link to comment Share on other sites More sharing options...
jmcollado Posted February 24, 2016 Share Posted February 24, 2016 (edited) Si en mi caso también sucede:Warning: Illegal offset type in isset or empty in /var/www/htdocs/www.dominio.com/classes/Tools.php on line 1394 public static function str2url($str) { static $array_str = array(); static $allow_accented_chars = null; static $has_mb_strtolower = null; if ($has_mb_strtolower === null) { $has_mb_strtolower = function_exists('mb_strtolower'); } if (isset($array_str[$str])) { return $array_str[$str]; } if (!is_string($str)) { return false; } if ($str == '') { return ''; } if ($allow_accented_chars === null) { $allow_accented_chars = Configuration::get('PS_ALLOW_ACCENTED_CHARS_URL'); } $return_str = trim($str); if ($has_mb_strtolower) { $return_str = mb_strtolower($return_str, 'utf-8'); } if (!$allow_accented_chars) { $return_str = Tools::replaceAccentedChars($return_str); Alguien lo ha resuelto o puede orientarnos porfavor? Miles de gracias! Edited February 24, 2016 by jmcollado (see edit history) Link to comment Share on other sites More sharing options...
HaCos Posted March 28, 2016 Share Posted March 28, 2016 Same problem after upgrading from 1.6.0.14 to 1.6.1.4 Link to comment Share on other sites More sharing options...
Neurona Dreams Posted April 5, 2016 Share Posted April 5, 2016 Hello We have the same trouble when we access to any page at www.openav.es We start to view this when we create a multi-shop environment. Please, have somebody a solution? Thanks in advance! Link to comment Share on other sites More sharing options...
skinnybloke Posted July 8, 2016 Share Posted July 8, 2016 Did anyone find a solution to this? Link to comment Share on other sites More sharing options...
nukua Posted July 8, 2016 Author Share Posted July 8, 2016 No, apparently nobody knows anything. Link to comment Share on other sites More sharing options...
skinnybloke Posted July 8, 2016 Share Posted July 8, 2016 Ok - thanks I have raised a bug report for it http://forge.prestashop.com/browse/PSCSX-8196 Link to comment Share on other sites More sharing options...
Cristrinity Posted July 5, 2017 Share Posted July 5, 2017 Has anyone found any solutions to this problem??.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now