Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught Error: Undefined class constant 'CURRENT_BRAND' #5

Closed
groomershop-mt opened this issue Aug 26, 2020 · 2 comments

Comments

@groomershop-mt
Copy link

After update from v2.22.1 to v2.22.2 we get an 500 error:
Probably changed the magesuite/brand-management has not been published.

2020-08-26 18:49:07.222816 [NOTICE] [22728] [213.180.203.118:40338#APVH_www.nowy.groomershop.pl:443] [STDERR] PHP Fatal error: Uncaught Error: Undefined class constant 'CURRENT_BRAND' in /home/magento/domains/nowy.groomershop.pl/public_html/vendor/creativestyle/magesuite-content-constructor-frontend/Observer/AddConstructorContentToBrandLayout.php:29
Stack trace:
#0 /home/magento/domains/nowy.groomershop.pl/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): MageSuite\ContentConstructorFrontend\Observer\AddConstructorContentToBrandLayout->execute(Object(Magento\Framework\Event\Observer))
#1 /home/magento/domains/nowy.groomershop.pl/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(MageSuite\ContentConstructorFrontend\Observer\AddConstructorContentToBrandLayout), Object(Magento\Framework\Event\Observer))
#2 /home/magento/domains/nowy.groomershop.pl/public_html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer))
#3 in /home/magento/domains/nowy.groomershop.pl/public_html/vendor/creativestyle/magesuite-content-constructor-frontend/Observer/AddConstructorContentToBrandLayout.php on line 29

@diwipl
Copy link
Contributor

diwipl commented Aug 28, 2020

Just to clarify what happened, we had some issues with github.com synchronisation. Code was pushed to github but packagist did not updated version after the push automatically.

I've updated package manually.

@groomershop-mt
Copy link
Author

Yes, thank you. We have later saw updated magesuite brand component, which solves this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants