Hello guys, how are you? Welcome back to my blog. Today in this blog post, I am going to share, Prestashop Attempted to call an undefined method named “jsonEncode” of class “Tools” – Solved.
Guys during upgrading my prestashop store to 8 version I got Attempted to call an undefined method named "jsonEncode" of class "Tools"
during Designs -> Positions.
1. Guys I just do the below changes:
In this case the change is simple, Tools::jsonEncode() must be replaced with json_encode(), and Tools::jsonDecode() with json_decode(). These two functions are natively available in PHP.
This is it guys. If you will have any kind of query then feel free to comment below.
Thanks
Tags:Prestashop
Recent Comments