I am getting errors such as:
Uncaught Error: [] operator not supported for strings in /home/xyz123/public_html/shop/classes/db/DbQuery.php:70
Here is line 70:
{ if (!empty($table)) $this->query['from'][] = '`'._DB_PREFIX_.$table.'`'.($alias ? ' '.$alias : ''); return $this; }
my hosting company support says:
Hello,
The lowest PHP version that can be used is PHP 7.2 with AlmaLinux 8. Here is the error for https://xyxz.zyxzyx/shop:
To fix it, you would need to change the code as the php 7.1+ requires you to set the array first before the element variable.
Your option is to update your site code to be compatible with php 7.2. Upgrade your prestashop. Or have cloudlinux installed for the server and use php 7.0. I believe the cost for cloudlinux is $25 a month. It does look like the source server uses cloudlinux.
>>> Is there any temporary easy solution, for these errors?
<<<
===