Rabab Posted July 5, 2018 Share Posted July 5, 2018 Hi, We added Product Addons in our WHMCS. These addons can be displayed during the initial order process but can also be ordered by the client to add to an existing package at any time. So in customer area, the customer can add a product addons by clicking on "View available addons", but when I click on this link it gives me this error message Oops! Something went wrong and we could not process your request. Please go back to the previous page and try again. If the problem persists, please contact us. Exception: Unable to find relation between hosting #34 and brand! in /opt/bitnami/apache2/htdocs/clients/modules/addons/Multibrand/core/whmcs/services/AbstractService.php:33Stack trace:#0 /opt/bitnami/apache2/htdocs/clients/modules/addons/Multibrand/core/whmcs/products/addon/Decorator.php(69): MGModule\Multibrand\Core\Whmcs\Services\AbstractService->getBrand()#1 /opt/bitnami/apache2/htdocs/clients/modules/addons/Multibrand/core/cart/orderView/OrderViewDecorator.php(177): MGModule\Multibrand\Core\Whmcs\Products\Addon\Decorator->getProductIds(Object(MGModule\Multibrand\Models\Whmcs\Client))#2 /opt/bitnami/apache2/htdocs/clients/modules/addons/Multibrand/core/cart/orderView/OrderView.php(161): MGModule\Multibrand\Core\Cart\OrderView\OrderViewDecorator->parseAddons(Object(MGModule\Multibrand\Core\Whmcs\Products\ProductsList), Object(MGModule\Multibrand\Models\Whmcs\Client), NULL)#3 /opt/bitnami/apache2/htdocs/clients/modules/addons/Multibrand/core/hooks/ClientAreaPageCart.php(82): MGModule\Multibrand\Core\Cart\OrderView\OrderView->getAddonsView(Object(MGModule\Multibrand\Models\Whmcs\Client))#4 /opt/bitnami/apache2/htdocs/clients/modules/addons/Multibrand/core/hooks/ClientAreaPageCart.php(48): MGModule\Multibrand\Core\Hooks\ClientAreaPageCart->setCartView(Array, Object(MGModule\Multibrand\Core\Brand\Brand))#5 /opt/bitnami/apache2/htdocs/clients/includes/hookfunctions.php(0): MGModule\Multibrand\Core\Hooks\ClientAreaPageCart->MGModule\Multibrand\Core\Hooks\{closure}(Array)#6 /opt/bitnami/apache2/htdocs/clients/includes/clientareafunctions.php(0): run_hook('ClientAreaPageC...', Array)#7 /opt/bitnami/apache2/htdocs/clients/cart.php(0): outputClientArea('addons', false, Array)#8 {main} If anyone has ever seen this type of problem, thank you for sharing your experience with us ! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted July 5, 2018 Share Posted July 5, 2018 6 minutes ago, Rabab said: If anyone has ever seen this type of problem, thank you for sharing your experience with us ! going by that error message, it looks like the error is being generated by the Multibrand addon... if so, it might be worth contacting @ModulesGarden 0 Quote Link to comment Share on other sites More sharing options...
Rabab Posted July 5, 2018 Author Share Posted July 5, 2018 Thank you Biran for your feedback. I will contact ModulesGarden, and I share with you if it's ok or not. 0 Quote Link to comment Share on other sites More sharing options...
Rabab Posted July 6, 2018 Author Share Posted July 6, 2018 Thankh you for your feedback. I checked the configuration of the relations of addons with my Brand, and I think it is correct. I redid the configuration, and I re-tested but it always gives me the same error message !!! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.