Thonychabane Posted August 16, 2023 Share Posted August 16, 2023 I bought the page builder Creative elements for prestashop 8.1.0. I use prestashop locally via a MAMP running on the latest MacOS and Apple Silicon with no Xcode tools installed. The php version is 7.4 and the mysql version is 5.7.39. Unfortunately some errors don’t allow me to use it. When I want to create a page via "content anywhere" or when I want to modify an existing page, I receive this error message : Fatal error: Uncaught Error: Attempt to modify property "value" on null in /Applications/MAMP/htdocs/prestashop/modules/creativeelements/creativeelements.php:659 Stack trace: #0 /Applications/MAMP/htdocs/prestashop/modules/creativeelements/creativeelements.php(634): CreativeElements->addBodyClasses('ce-theme', 2) #1 /Applications/MAMP/htdocs/prestashop/classes/Hook.php(993): CreativeElements->hookOverrideLayoutTemplate(Array) #2 /Applications/MAMP/htdocs/prestashop/classes/Hook.php(418): HookCore::coreCallHook(Object(CreativeElements), 'hookOverrideLay...', Array) #3 /Applications/MAMP/htdocs/prestashop/classes/Hook.php(928): HookCore::callHookOn(Object(CreativeElements), 'overrideLayoutT...', Array) #4 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(1369): HookCore::exec('overrideLayoutT...', Array) #5 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(1397): FrontControllerCore->getLayout() #6 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(1754): FrontControllerCore->getLayoutName() #7 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(506): FrontControllerCore->getTemplateVarPage() #8 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(569): FrontControllerCore->assignGeneralPurposeVariables() #9 /Applications/MAMP/htdocs/prestashop/controllers/front/IndexController.php(38): FrontControllerCore->initContent() #10 /Applications/MAMP/htdocs/prestashop/classes/controller/Controller.php(319): IndexControllerCore->initContent() #11 /Applications/MAMP/htdocs/prestashop/classes/Dispatcher.php(510): ControllerCore->run() #12 /Applications/MAMP/htdocs/prestashop/index.php(28): DispatcherCore->dispatch() #13 {main} thrown in /Applications/MAMP/htdocs/prestashop/modules/creativeelements/creativeelements.php on line 659 When I want to create via the theme builder I have another error message : Warning: Attempt to read property "documents" on null in /Applications/MAMP/htdocs/prestashop/modules/creativeelements/creativeelements.php on line 595 Fatal error: Uncaught Error: Call to a member function getDocForFrontend() on null in /Applications/MAMP/htdocs/prestashop/modules/creativeelements/creativeelements.php:595 Stack trace: #0 /Applications/MAMP/htdocs/prestashop/classes/Hook.php(993): CreativeElements->hookOverrideLayoutTemplate(Array) #1 /Applications/MAMP/htdocs/prestashop/classes/Hook.php(418): HookCore::coreCallHook(Object(CreativeElements), 'hookOverrideLay...', Array) #2 /Applications/MAMP/htdocs/prestashop/classes/Hook.php(928): HookCore::callHookOn(Object(CreativeElements), 'overrideLayoutT...', Array) #3 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(1369): HookCore::exec('overrideLayoutT...', Array) #4 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(1397): FrontControllerCore->getLayout() #5 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(1754): FrontControllerCore->getLayoutName() #6 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(506): FrontControllerCore->getTemplateVarPage() #7 /Applications/MAMP/htdocs/prestashop/classes/controller/FrontController.php(569): FrontControllerCore->assignGeneralPurposeVariables() #8 /Applications/MAMP/htdocs/prestashop/controllers/front/IndexController.php(38): FrontControllerCore->initContent() #9 /Applications/MAMP/htdocs/prestashop/classes/controller/Controller.php(319): IndexControllerCore->initContent() #10 /Applications/MAMP/htdocs/prestashop/classes/Dispatcher.php(510): ControllerCore->run() #11 /Applications/MAMP/htdocs/prestashop/index.php(28): DispatcherCore->dispatch() #12 {main} thrown in /Applications/MAMP/htdocs/prestashop/modules/creativeelements/creativeelements.php on line 595 I tried to follow the instructions from the page support, searched a lot of solution on web, checked the grafted hooks, install prestashop on hosted server but nothing work. (I’m really novice with prestashop and know nothing about php). I contacted the support of creative element but no answers. I really don’t know what to do, could someone help me to find a solution ? Thanks in advance ! 1 Link to comment Share on other sites More sharing options...
Myles_UA Posted August 31, 2023 Share Posted August 31, 2023 Same here. Did you get the update from developers? Or did you try running it on PPS 8.0.5/8.0.1? 1 Link to comment Share on other sites More sharing options...
Myles_UA Posted September 6, 2023 Share Posted September 6, 2023 From what i understand, Creative Elements is not suitable for PS 8.1, 'cause everything works on 8.0.5 Link to comment Share on other sites More sharing options...
kiwifraise Posted October 17, 2023 Share Posted October 17, 2023 Has this error too, module has missing conversions. Edit creativeelements.php file Line 595 : $document = CE\Plugin::instance()->documents->getDocForFrontend($uid_preview); Line 602 : CE\Plugin::instance()->modules_manager->getModules('catalog')->handleProductQuickView(); Line 608: CE\Plugin::instance()->modules_manager->getModules('catalog')->handleProductMiniature(); You may have warning on addBodyClasses function, I recommend you to put in comment all inside this function as it adds only classes to body in the editor. Link to comment Share on other sites More sharing options...
Yelish Posted October 18, 2023 Share Posted October 18, 2023 What I'm about to say is obvious, but I'll say it anyway. Why don't you contact the module developer? According to PrestaShop's publication conditions, they should provide you with support for your issues. If they don't know or don't respond, and you're paying for maintenance, you should report it. I'm sorry I couldn't be of more help, but I don't use or know the module either. Best regards. 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