Havouza Posted August 11, 2022 Posted August 11, 2022 This comes from a footer in the second shop migrated. I suspect it can come from a cache but I dont know how to empy it when I have no access. where can the cache be stored? Or it is something else? @datakick
datakick Posted August 11, 2022 Posted August 11, 2022 Module footercustom is not compatible with your php version. Contact its author to fix it
Havouza Posted August 11, 2022 Author Posted August 11, 2022 this is the whole 511 if ($suffix !== null && $sub_prop[0] == 'assign' && is_string($sub_prop[1]) && $sub_prop[1]{0} != $this->v_prefix) { $sub_prop[2] = array( WE use 7.4 in both shops. the other one has no problem. Can I just change the curly for brackets?
Havouza Posted August 11, 2022 Author Posted August 11, 2022 stackoverflow solution $str = "test"; echo($str{0}); since PHP 7.4 curly braces method to get individual characters inside a string has been deprecated, so change the above syntax into this: $str = "test"; echo($str[0]);
Havouza Posted August 11, 2022 Author Posted August 11, 2022 I saw one diff and that was that the other shop use php/fpm. Changed and all worked
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