Hi, I’ve purchased the kiddos theme, but whenever I add a product the product_id in the database (for all the product tables) is coming up as 0. This of course is causing many “multiple results” errors during sql querying.
The website isn’t live yet, but it’s http://www.blizzy.co.uk/stitchmyname
Any ideas? Thanks.
|
|
So I’ve created a local version of the website, and an opencart 2.2 website on my ampstack
I’ve narrowed the problem down to this function:
/system/library/db.php
public function getLastId() {
return $this->adaptor->getLastId();
}
getlastid is always returning 0, so creating anything is setting the id to 0.
The stock opencart 2.2 installation is working perfectly though.
|
|
Hi,
This should not be a theme related issue as we’ve never modified any core features. Have you enabled theme database cache?
BR,
ThemeBurn team
|
|