EcoPets Posted November 6, 2023 Share Posted November 6, 2023 Oops... looks like an unexpected error occurred. Invalid Supplier id: 0 [PrestaShop\PrestaShop\Core\Domain\Supplier\Exception\SupplierException 0] Prestashop 8.1.2 after upgrade from 1.7.8.10 This occurs on 1 site but not on another using the same Pshop version and PHP8.1 settings and same hosting, but on different shared servers. Site 1 was working fine with Pshop 1.7.8.10 and PHP 7.4 Both installations are identical. one is live and one is for testing. Test site works with no problem the live site has this error Error occurs in the BO on EVERY product. Turning Debug mode on seems to indicate a problem with Supplierid.php but there is no such file in either installation. This makes it impossible to edit any products on the live site. Link to comment Share on other sites More sharing options...
ComGrafPL Posted November 7, 2023 Share Posted November 7, 2023 Verify it on database. Link to comment Share on other sites More sharing options...
EcoPets Posted November 7, 2023 Author Share Posted November 7, 2023 verify what? Could you possibly give more information? Link to comment Share on other sites More sharing options...
EcoPets Posted November 9, 2023 Author Share Posted November 9, 2023 Well now I am locked out of the back office. see attached. I looked in the ps_supplier table and there was only 1 supplier there and it was correct. Link to comment Share on other sites More sharing options...
musicmaster Posted November 11, 2023 Share Posted November 11, 2023 On 11/9/2023 at 9:02 PM, EcoPets said: Well now I am locked out of the back office. see attached. I looked in the ps_supplier table and there was only 1 supplier there and it was correct. Note that the DSN refers to the domain "sentry.io". Maybe your company is using some services from that company. Link to comment Share on other sites More sharing options...
EcoPets Posted November 11, 2023 Author Share Posted November 11, 2023 I have no idea what "sentry.io" is. I have no relationship with that entity that I am aware of. But this link seems to indicate it could be some part of Prestashop? It seems to follow much of what I was experiencing. There is nothing on my hosting server regarding SENTRY.IO, so maybe it is something within Prestashop? Link to comment Share on other sites More sharing options...
musicmaster Posted November 11, 2023 Share Posted November 11, 2023 28 minutes ago, EcoPets said: I have no idea what "sentry.io" is. I have no relationship with that entity that I am aware of. But this link seems to indicate it could be some part of Prestashop? It seems to follow much of what I was experiencing. There is nothing on my hosting server regarding SENTRY.IO, so maybe it is something within Prestashop? You are right. It is Prestashop that is using it. Try disabling the ps_mbo module. it has "https://###.ingest.sentry.io/###" in its settings. Link to comment Share on other sites More sharing options...
EcoPets Posted November 11, 2023 Author Share Posted November 11, 2023 but doesn't that remove the Prestashop Marketplace? Currently that module is not working at all and can't be reset. it gives the error "Cannot Reset module ps_mbo. Property Tab->class_name is empty." It seems that ps_mbo has always caused problems Link to comment Share on other sites More sharing options...
musicmaster Posted November 12, 2023 Share Posted November 12, 2023 10 hours ago, EcoPets said: but doesn't that remove the Prestashop Marketplace? Currently that module is not working at all and can't be reset. it gives the error "Cannot Reset module ps_mbo. Property Tab->class_name is empty." It seems that ps_mbo has always caused problems Who cares about the "Prestashop marketplace"? I have never used that menu option. Whenever I need a module I go straight to Addons. Link to comment Share on other sites More sharing options...
hhennes Posted November 25, 2023 Share Posted November 25, 2023 Hi, I've also add this issue when migrating from 1.7.8.10 to 8.1.2 It appears because there is one or several rows for the edited product in table product_supplier, and in this row a value of 0 is provided for the column id_supplier. 2 possibilities : - Your product is not related with any supplier, so you can safely remove this line. - Your product is not related with the good supplier, you need to patch this line to provide the good supplier id. Regards, Link to comment Share on other sites More sharing options...
hannes01 Posted December 3, 2023 Share Posted December 3, 2023 Hi EcoPets, I have the same issue as you. How did you solve this? Thank you! Link to comment Share on other sites More sharing options...
EcoPets Posted December 4, 2023 Author Share Posted December 4, 2023 I just restored the database from a backup and that cleared the problem 1 Link to comment Share on other sites More sharing options...
julmago Posted September 12 Share Posted September 12 Vacia la tabla ps_product_supplier te esta indicando que tiene un proveedor pero en realidad no lo hay, la vaciar esa tabla te tiene que funcionar 1 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