Jump to content

Added new Product Addons


Recommended Posts

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:33
Stack 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 !

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated