Jump to content
thirty bees forum
  • 0

Unabling "Product Comments v4.1.0 - by thirty bees" then disabling it will throw a "500 Server Error" ...


papagino

Question

Hello people,  I noticed that if I enable the "Product Comments v4.1.0 - by thirty bees" module, then disable it in the back office, it will throw a "500 Server Error" whenever I click on a product page in the front office.

The only way to get the shop working again is if I Disable non thirty bees modules under "Advanced Parameters / Performance" settings.

I am on Thirtybees 1.4.0 and PHP 8.1 on my host.

Here is what is shown under error log:

 Exception

Message:
Error: Class "ProductCommentsModule\ProductComment" not found


Location:
modules/jsonmodule/jsonmodule.php line 1277

 

I also tried to remove all Hooks for the Product Comment module but this doesn't help.

Can anyone replicate this problem?

Is this a bug and anyway to solve this problem?

 

Cheers

Dan

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
3 minutes ago, papagino said:

Hello people,  I noticed that if I enable the "Product Comments v4.1.0 - by thirty bees" module, then disable it in the back office, it will throw a "500 Server Error" whenever I click on a product page in the front office.

The only way to get the shop working again is if I Disable non thirty bees modules under "Advanced Parameters / Performance" settings.

I am on Thirtybees 1.4.0 and PHP 8.1 on my host.

Here is what is shown under error log:

 Exception

Message:
Error: Class "ProductCommentsModule\ProductComment" not found


Location:
modules/jsonmodule/jsonmodule.php line 1277

 

I also tried to remove all Hooks for the Product Comment module but this doesn't help.

Can anyone replicate this problem?

Is this a bug and anyway to solve this problem?

 

Cheers

Dan

 

Edit

OK, I just did an "Uninstall" for the "Product Comments" module and this solved the problem...

Cheers

Link to comment
Share on other sites

  • 0

This is an issue in integration between jsonmodule a and productcomments

In jsonmodule, you can choose to emit reviews information retrieved from productcomments module. To do that, jsonmodule uses productcomments internal classes. These classes are not available when productscomments is disabled (module autoloader is not initialized).

https://github.com/thirtybees/jsonmodule/issues/8

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...