wilson113311 Posted September 19, 2019 Share Posted September 19, 2019 Hi, I have updtaed my website but now I am getting a 500 error on the front office and the following errors when trying to acess the admin can anybody urgently help? Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/classes/Language.php on line 778 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/classes/Language.php on line 778 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/modules/hipay/hipay.php on line 131 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/modules/hipay/hipay.php on line 68 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/classes/Language.php on line 778 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/modules/watermark/watermark.php on line 55 Warning: Invalid argument supplied for foreach() in /var/www/vhosts/tillrollsonline.co.uk/httpdocs/classes/module/Module.php on line 1435 Thank you in advance. Link to comment Share on other sites More sharing options...
wilson113311 Posted September 19, 2019 Author Share Posted September 19, 2019 update when debug turned on [PrestaShopDatabaseException] Table 'tillrollsonline.ps_shop_url' doesn't exist SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main FROM ps_shop_url su LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop) WHERE (su.domain = 'tillrollsonline.co.uk' OR su.domain_ssl = 'tillrollsonline.co.uk') AND s.active = 1 AND s.deleted = 0 ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 790. if ($sql) { 791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 792. } 793. 794. throw new PrestaShopDatabaseException($this->getMsgError()); 795. } 796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 643 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 334 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 114 - config/config.inc.php] require - [line 36 - admin/index.php] - [1 Arguments] Link to comment Share on other sites More sharing options...
tuk66 Posted September 20, 2019 Share Posted September 20, 2019 Quote Table 'tillrollsonline.ps_shop_url' doesn't exist Did the upgrade complete successfully? This is a serious problem. Something is wrong and it doesn't have to be just this one thing. 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