Jump to content

After Upgrade-Fatal Error-FrontController.php on line 243


Recommended Posts

Is there anything wrong with these two lines that is causing these fatal error messages after I migrated to a new host?

 

Fatal error: Cannot access empty property in /home/bbsoid/domains/bbserviceshop.com/public_html/classes/FrontController.php on line 245

 

Fatal error: Cannot access empty property in /home/bbsoid/domains/bbserviceshop.com/public_html/test/httpdocs/classes/FrontController.php on line 243

 

These are the two lines:

 

242 $display_tax_label = $defaultCountry->display_tax_label;

243 if ($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')})

244 {

245 $infos = Address::getCountryAndState((int)($cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')}));

246 $country = new Country((int)$infos['id_country']);

247 if (Validate::isLoadedObject($country))

248 $display_tax_label = $country->display_tax_label;

Link to comment
Share on other sites

I specifically asked for 5.2 or higher. As I see the cpanel only shows PHP is turned on but no version stated. I emailed the host admin just now to inquire. I'll let you know real quick here. Please dont go any where lol

What is your php version?

Link to comment
Share on other sites

To me it appears I met all the system requirements. I zipped up the database and moved it to the new host. Havn't changed anything but the settings inc file unless I did something to that. I dont understand the errors and why I cant get the shop to work. Very frustrating.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...