Jump to content

[Solved] Fatal error: Class 'ObjectModel' not found in /var/www/vhosts/playnet.biz/httpdocs/category.php on line 15


Recommended Posts

Hello.

I want to change my prestashop from one server to other.
I made a backup of my database, then I copied everything to the new server. After I changed the correct lines in the file settings.inc.php in config folder to my new database server.
Everything looked OK, but when I click on any product or category link I get one of this two errors.

Fatal error: Class 'ObjectModel' not found in /var/www/vhosts/playnet.biz/httpdocs/product.php on line 18
Fatal error: Class 'ObjectModel' not found in /var/www/vhosts/playnet.biz/httpdocs/category.php on line 15

What went wrong?

Thanks in advance.

Link to comment
Share on other sites

  • 1 year later...

I'm having the same problem. A new client want to move her website over to our server. So I copied the public_html folder and the whole database to our server, then changed the settings.

The firstpage works fine. But when I press any category I get the error

"Fatal error: Class 'ObjectModel' not found in /var/www/leufstaq/category.php on line 15"

I've re-copied the whole Classes folder multiple times, doesnt seem to solve anything.

You got any more ideas to this problem?

Link to comment
Share on other sites

×
×
  • Create New...