Havouza Posted August 11, 2022 Share 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 Link to comment Share on other sites More sharing options...
datakick Posted August 11, 2022 Share Posted August 11, 2022 Module footercustom is not compatible with your php version. Contact its author to fix it Link to comment Share on other sites More sharing options...
Havouza Posted August 11, 2022 Author Share 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? Link to comment Share on other sites More sharing options...
Havouza Posted August 11, 2022 Author Share 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]); Link to comment Share on other sites More sharing options...
Havouza Posted August 11, 2022 Author Share Posted August 11, 2022 I saw one diff and that was that the other shop use php/fpm. Changed and all worked 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