Rajeshx Posted September 30, 2021 Share Posted September 30, 2021 Uit het niets krijg ik als ik vanuit mijn admin op modules klik de volgende error. Hoe kan ik dit fixen: Warning: A non-numeric value encountered Exception Logs 2 Stack Trace Symfony\Component\Debug\Exception\ ContextErrorException in src/Adapter/Presenter/Module/ModulePresenter.php (line 66) } $attributes = $module->attributes->all(); $attributes['picos'] = $this->addPicos($attributes); $attributes['price'] = $this->getModulePrice($attributes['price']); $attributes['starsRate'] = str_replace('.', '', round($attributes['avgRate'] * 2) / 2); // Round to the nearest 0.5 return [ 'attributes' => $attributes, 'disk' => $module->disk->all(), 'database' => $module->database->all(), ModulePresenter->present(object(Module)) in src/Adapter/Presenter/Module/ModulePresenter.php (line 100) ModulePresenter->presentCollection(array(object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module), object(Module))) in src/PrestaShopBundle/Controller/Admin/Improve/ModuleController.php (line 821) ModuleController->getCategories(object(AdminModuleDataProvider), array('ps_eventbus' => object(Module), 'ht_scrolltop' => object(Module), 'contactform' => object(Module), 'blockwishlist' => object(Module), 'ps_categorytree_mod' => object(Module), 'ps_viewedproduct' => object(Module), 'ht_staticblocks' => object(Module), 'ht_googleanalytics' => object(Module), 'ybc_blog' => object(Module), 'emarketing' => object(Module), 'ps_checkpayment' => object(Module), 'statsequipment' => object(Module), 'ps_dataprivacy' => object(Module), 'ht_brandlist' => object(Module), 'statssales' => object(Module), 'ps_bestsellers' => object(Module), 'ps_shoppingcart' => object(Module), 'ps_mainmenu' => object(Module), 'statscheckup' => object(Module), 'ps_customeraccountlinks' => object(Module), 'dashactivity' => object(Module), 'ps_customtext' => object(Module), 'statsvisits' => object(Module), 'psaddonsconnect' => object(Module), 'statslive' => object(Module), 'graphnvd3' => object(Module), 'ps_categorytree' => object(Module), 'ps_facetedsearch' => object(Module), 'statscatalog' => object(Module), 'statscarrier' => object(Module), 'cedwish' => object(Module), 'ps_accounts' => object(Module), 'pleasewait' => object(Module), 'statssearch' => object(Module), 'ps_emailsubscription' => object(Module), 'ets_multilayerslider' => object(Module), 'statsstock' => object(Module), 'ps_themecusto' => object(Module), 'ets_megamenu' => object(Module), 'dashgoals' => object(Module), 'autoupgrade' => object(Module), 'ps_banner' => object(Module), 'statspersonalinfos' => object(Module), 'ps_languageselector' => object(Module), 'psgdpr' => object(Module), 'ps_customersignin' => object(Module), 'htmlbox' => object(Module), 'ps_contactinfo' => object(Module), 'magnalister' => object(Module), 'ybc_manufacturer' => object(Module), 'statsproduct' => object(Module), 'ybc_widget' => object(Module), 'ps_googleanalytics' => object(Module), 'ets_purchasetogether' => object(Module), 'statsforecast' => object(Module), 'ps_mbo' => object(Module), 'blockreassurance' => object(Module), 'sekeywords' => object(Module), 'statsorigin' => object(Module), 'ets_reviewticker' => object(Module), 'statsnewsletter' => object(Module), 'myparcelnl' => object(Module), 'basmartseoalttags' => object(Module), 'statsbestcustomers' => object(Module), 'ps_searchbar' => object(Module), 'ps_imageslider' => object(Module), 'gamification' => object(Module), 'statsbestvouchers' => object(Module), 'statsbestproducts' => object(Module), 'gsitemap' => object(Module), 'ps_specials' => object(Module), 'dashtrends' => object(Module), 'ps_categoryproducts' => object(Module), 'bacookielawinfo' => object(Module), 'welcome' => object(Module), 'ps_metrics' => object(Module), 'gridhtml' => object(Module), 'gadwords' => object(Module), 'paypal' => object(Module), 'ybc_specificprices' => object(Module), 'ps_currencyselector' => object(Module), 'statsdata' => object(Module), 'ets_mailchimpsync' => object(Module), 'ps_newproducts' => object(Module), 'productcomments' => object(Module), 'pagesnotfound' => object(Module), 'ybc_newsletter' => object(Module), 'ps_socialfollow' => object(Module), 'ps_featuredproducts' => object(Module), 'statsbestcategories' => object(Module), 'ps_linklist' => object(Module), 'jmango360pwa' => object(Module), 'statsbestsuppliers' => object(Module), 'ps_buybuttonlite' => object(Module), 'ps_wirepayment' => object(Module), 'ps_faviconnotificationbo' => object(Module), 'cleverppc' => object(Module), 'statsregistrations' => object(Module), 'stripe_official' => object(Module), 'ps_sharebuttons' => object(Module), 'ybc_themeconfig' => object(Module), 'ybc_productimagehover' => object(Module), 'dashproducts' => object(Module), 'ps_crossselling' => object(Module))) in src/PrestaShopBundle/Controller/Admin/Improve/ModuleController.php (line 119) ModuleController->manageAction() in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151) HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68) HttpKernel->handle(object(Request), 1, false) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200) Kernel->handle(object(Request), 1, false) in control/index.php (line 82) 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