Undefined property: DB::$db after enabling db cache

Tagged: , ,

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeUndefined property: DB::$db after enabling db cache

This topic has been marked as not resolved.

After enabling DB cache in the theme settings under system, I can’t access my site anymore. I get this error:

Notice: Undefined property: DB::$db in /sites/mishop.nl/www/system/storage/modification/system/library/db.php on line 63

This is what my host gives as an error:

FastCGI: server “/var/run/php-fpm/php56/php-cgi” stderr: PHP message: PHP Fatal error: Call to a member function query() on null in /sites/mishop.nl/www/system/storage/modification/system/library/db.php on line 65

How to fix this? Or can I manually turn the db cache off somewhere in the files so my website goes back to working?

  • This reply was modified 2878 days ago by  Kjapalak.
  • This reply was modified 2878 days ago by  Kjapalak.
June 12, 2016 at 8:08 pm #48676

Hi,

this is a known issue with db cache + opencart 2.2.0.0. The fix will be delivered with the next update. For now, just turn off the database cache.

Regards,
ThemeBurn team

June 15, 2016 at 4:48 pm #48797

Dear ThemeBurn team,

How do I turn of the database cache? I can’t get to the admin panel as it gives that error. Is there something I can change in a file?

Regards,
Kenan

June 15, 2016 at 8:10 pm #48798

In order to access your admin, try to delete the contents of the system/storage/modification folder, except the index.html file. This is safe operation, don’t worry.

Regards,
ThemeBurn team

June 16, 2016 at 9:26 am #48810

I deleted the contents of that folder but now my OpenCart doesn’t show BurnEngine. When I reinstall it through Extensions > Templates, the panel doesn’t work either + all my settings are gone.

Removing that folder just messes it up even further.
I don’t want to delete all my BurnEngine settings. Just want to disable the db cache. Is that not possible any other way?

Regards,
Kenan

  • This reply was modified 2873 days ago by  Kjapalak.
  • This reply was modified 2873 days ago by  Kjapalak.
  • This reply was modified 2873 days ago by  Kjapalak.
June 17, 2016 at 2:25 am #48820

If you reinstalled the BurnEngine extension from Extensions > Templates you already erased your BurnEngine settings . Hope you have a backup. After you restore the backup, can you please provide the website url, admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

Best,
ThemeBurn team

June 23, 2016 at 12:12 pm #48988
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.