Jump to content

PrestaShop Metrics issue.


meciasowy

Recommended Posts

PrestaShop 1.7.7.3
PrestaShop Metrics v1.3.3 (reinstalled twice)

Server info:
FreeBSD 12.2-RELEASE-p2 amd64
Server: Apache/N-G-I-N-X-htaccess-support
PHP: 7.3.23
MySQL: 5.7.31-34-log
 

 

After updating PS from 1.7.7.2 to 1.7.7.3 - I cannot get PrestaShop Metrics to work without issues.
Entering BackOffice desktop with enabled PS Metrics = no data + email about error occured
In PS logs I can see only Internal Server Error.
Debugging Mode doesn't help me, as debug tool doesn't load itself after entering BackOffice Desktop.

Checked server for errors, but didn't found any.

Can anyone help me?

Link to comment
Share on other sites

  • 3 weeks later...

I will use this thread to post my issues with the PS Metrics module, since the support for the module is extremely slow and not helpful at all. Maybe here they can get a clearer list of issues of the module, since we cannot report them on Github. 

Issue number 1: On Prestashop 1.6.1.24 I upgraded the module today from 1.3.3 to 2.0.2 (it says on Addons it is compatible from PS 1.6.1.0). After updating, I cannot use my back office, I get this error: 

----------

[PrestaShop] Fatal error in module file /public_html/modules/ps_metrics/src/Api/Client/AnalyticsClient.php:

Uncaught TypeError: Argument 1 passed to PrestaShop\Module\Ps_metrics\Api\Client\AnalyticsClient::__construct() must be an instance of PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts, instance of PrestaShop\Module\Ps_metrics\Middleware\CheckResponseMiddleware given, called in /public_html/cache/Ps_metricsAdminContainer.php on line 270 and defined in /public_html/modules/ps_metrics/src/Api/Client/AnalyticsClient.php:49 Stack trace: #0 /public_html/cache/Ps_metricsAdminContainer.php(270): PrestaShop\Module\Ps_metrics\Api\Client\AnalyticsClient->__construct(Object(PrestaShop\Module\Ps_metrics\Middleware\CheckResponseMiddleware), Object(PrestaShop\Module\Ps_metrics\Middleware\LogMiddleware), Object(PrestaShop\Module\Ps_metrics\Middleware\SentryMiddleware), Object(PrestaShop\Module\Ps_metrics\Middleware\ResponseMiddleware), Object(PrestaShop\Module\Ps_metrics\Handler\GuzzleApiResponseExceptionHandler)) #1 /home/custom

------

I fixed it "uninstalling" the module via FTP, but really.... they should test the module better before releasing updates. 

Hopefully somebody from the team can answer our questions.  

Edited by w3bsolutions (see edit history)
Link to comment
Share on other sites

I also have had this problem for along time with "Oops! Something went wrong". But now at least I get a sensible log with severity (127). "cURL error 60: SSL certificate problem: certificate has expired". 

This makes sense but how to renew the certificate?

PS1.7.7.2

PHP 7.3

Link to comment
Share on other sites

12 hours ago, Nickz said:

on what server are you? Shared with cpanel, VPS with ......

I'm on some linux server in a shared environment with Cpanel. PS Metrics 2.0.2, ps_accounts.display_name 4.0.0, PS Eventbus 1.4.0

Link to comment
Share on other sites

Note that from 1.7.7.3 Prestashop installs the ps_metrics and ps_accounts modules automatically when you install Prestashop or upgrade to that version. This seems to happen dynamically from the PS website: the modules are not present in the 1.7.7.3 zip file.

 

Link to comment
Share on other sites

  • 2 weeks later...

The ps_accounts module is installed correctly, but I get the same error on 3 different Prestashop 1.6 sites:

On 5/7/2021 at 10:49 PM, w3bsolutions said:

[PrestaShop] Fatal error in module file /public_html/modules/ps_metrics/src/Api/Client/AnalyticsClient.php:

Uncaught TypeError: Argument 1 passed to PrestaShop\Module\Ps_metrics\Api\Client\AnalyticsClient::__construct() must be an instance of PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts, instance of PrestaShop\Module\Ps_metrics\Middleware\CheckResponseMiddleware given, called in /public_html/cache/Ps_metricsAdminContainer.php on line 270 and defined in /public_html/modules/ps_metrics/src/Api/Client/AnalyticsClient.php:49 Stack trace: #0 /public_html/cache/Ps_metricsAdminContainer.php(270): PrestaShop\Module\Ps_metrics\Api\Client\AnalyticsClient->__construct(Object(PrestaShop\Module\Ps_metrics\Middleware\CheckResponseMiddleware), Object(PrestaShop\Module\Ps_metrics\Middleware\LogMiddleware), Object(PrestaShop\Module\Ps_metrics\Middleware\SentryMiddleware), Object(PrestaShop\Module\Ps_metrics\Middleware\ResponseMiddleware), Object(PrestaShop\Module\Ps_metrics\Handler\GuzzleApiResponseExceptionHandler)) #1 /home/custom

 

 

Anybody lucky installing version 2.0.2 on Prestashop 1.6?

Link to comment
Share on other sites

  • 2 weeks later...
11 hours ago, JaimeAQ said:

I'm on 1.7.7.4. At first I thought it was something I did, so I tried a fresh install. Same results.

Have you seen this >

 

On 5/10/2021 at 3:08 PM, musicmaster said:

Note that from 1.7.7.3 Prestashop installs the ps_metrics and ps_accounts modules automatically when you install Prestashop or upgrade to that version. This seems to happen dynamically from the PS website: the modules are not present in the 1.7.7.3 zip file.

 

Link to comment
Share on other sites

49 minutes ago, Nickz said:

Have you seen this >

 

 

Yes I did :)

The version installed automatically is 1.3.3, then I realized that the latest version on Prestashop Addon Marketplace is 2.1.2. That's why I wanted to make the upgrade.

I can see the upgrade available on BackOffice, but it asks me to log in to the Marketplace and after login in I can't see the upgrade available anymore. Then I went to download it and upgrade it manually, but it shows an error without explanation.

Link to comment
Share on other sites

34 minutes ago, Nickz said:

You should contact eshopaddons.com where the addon is from. Give it a try.

Dude, don’t confuse people. Prestashop Metrics is from Prestashop S.A - https://addons.prestashop.com 

The email address for support of the module is [email protected] , I have contacted them several times.

Edited by w3bsolutions (see edit history)
  • Like 1
Link to comment
Share on other sites

The whole thread and screenshots of this thread are for the same native Prestashop SA module: https://www.prestashop.com/en/prestashop-metrics 

Module on Addons: https://addons.prestashop.com/en/analytics-statistics/49583-prestashop-metrics-beta.html

This is no third party module. Please become familiar with the topic on the thread before giving such answers :).  Did you check the change log on the module that you refer to to see if it matches? 

Cheers 🍻 

Link to comment
Share on other sites

On 5/31/2021 at 9:49 AM, w3bsolutions said:

Today I upgraded from 2.02. to 2.1.1 on 2 of my Prestashop 1.7 sites (latest version), and this is the result... I don't expect to get help here, I am just trying to warn people about all the issues this module still has: 

393553709_Screenshot2021-05-31at09_39_51.thumb.png.92719c9dcfb8bbf70cb90e76076cd299.png

This issue was fixed for me today on both sites upgrading to the new version 2.1.2

  • Like 1
Link to comment
Share on other sites

I have also upgraded to 2.1.2 it appears to be fine except it tells me to Install the Prestashop Event Bus module.

I click the button for this and I just get something went wrong try again, a search in the prestashop modules tells me nothing, it doesnt seem to exist.

I am running 1.7.7.4 on a Centos VPS

eventbus.png

Link to comment
Share on other sites

11 hours ago, dragon_sa said:

I have also upgraded to 2.1.2 it appears to be fine except it tells me to Install the Prestashop Event Bus module.

I click the button for this and I just get something went wrong try again, a search in the prestashop modules tells me nothing, it doesnt seem to exist.

I am running 1.7.7.4 on a Centos VPS

Attached is the Prestashop Event Bus module. Just install it as any other module. 

ps_eventbus.zip

Link to comment
Share on other sites

PS 1.7.7.3

PHP 7.3

The upgrade of the prestashop installation was from 1.7.6.4 with a completely new installation of 1.7.7.3 and all the customizations in child_classic carpet. The new installation of 1.7.7.3 came with the prestashop metrics module included (it was a surprise). After I configured it (get some minutes) the module says I have no Google analytics tag in my page. If I include the tag offered by Google analytics in the head file I get an error 500 in my webpage (without that tag the webpage works). But after install the upgrade of the module this works and get some of the analytics, but my web page disappears with an error 500. The only way to return alive my webpage is to restore a previous backup from my hosting with the module version included in the PS 1.7.7.3.

Link to comment
Share on other sites

12 minutes ago, jhmorales.ceramics said:

If I include the tag offered by Google analytics in the head file I get an error 500 in my webpage

Don't put it directly on the tpl file. Use the native default Google Analytics module where you just have to paste your UA- code.

Link to comment
Share on other sites

2 minutes ago, jhmorales.ceramics said:

I had to take off de UA tag from the tpl file because it generates an error 500. But when I upgrade to the new version of the Google Analytics module it says there is no tag, and also my webpage disappears with an error 500.

It is good that you removed it from the tpl, you shouldn't put it there directly. You should put it using the Google Analytics module. Once you configured it in the GA module, you say your website has an error 500. Have you tried to enable debug mode to see what error you get?

Link to comment
Share on other sites

12 minutes ago, jhmorales.ceramics said:

I had to take off de UA tag from the tpl file because it generates an error 500. But when I upgrade to the new version of the Google Analytics module it says there is no tag, and also my webpage disappears with an error 500.

I had a similar problem with the Google Analytics module. It was solved by itself during night. I guess it takes time to update everything on both sides.

Link to comment
Share on other sites

I've just reinstall the PS Metrics module, my webpage disappears with an error 500, this is the debug result:

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Notice: Undefined index: product_manufacturer

in 5c0eacf7f2f4d36700a5ed5b14933933ac3d58a7_2.file.product.tpl.cache.php line 178

at Block_162477098260c0ff6851e747_47142662->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_162477098260c0ff6851e747_47142662), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_162477098260c0ff6851e747_47142662))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_162477098260c0ff6851e747_47142662', 'product_price_and_shipping', 0)in 5c0eacf7f2f4d36700a5ed5b14933933ac3d58a7_2.file.product.tpl.cache.php line 325

at Block_206520262660c0ff6850c1e7_27717586->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_206520262660c0ff6850c1e7_27717586), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_206520262660c0ff6850c1e7_27717586))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_206520262660c0ff6850c1e7_27717586', 'product_miniature_item')in 5c0eacf7f2f4d36700a5ed5b14933933ac3d58a7_2.file.product.tpl.cache.php line 29

at content_60c0ff6853d0f9_52640610(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 383

at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_featuredproducts|1|1|1|2|2|6', 'child_classic', 9999, 31536000, array('product' => object(ProductLazyArray), 'position' => 0), 0, true)in 680b7dd6ad1c01a6c07b97530a1030eddc2011a0_2.file.productlist.tpl.cache.php line 42

at content_60c0ff685082a8_36477865(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 383

at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/productlist.tpl', 'ps_featuredproducts|1|1|1|2|2|6', 'child_classic', 9999, 31536000, array('products' => array(object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray)), 'cssClass' => 'row'), 0, false)in fa6cc378d2942c8857b89d6bca728048c0caeedd_2.module.psfeaturedproductsviewste.cache.php line 32

at content_60c0ff685029a9_86899653(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_runtime_updatecache.php line 38

at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)in smarty_template_cached.php line 143

at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)in smarty_internal_template.php line 211

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40

at SmartyDevTemplateCore->fetch()in Module.php line 2480

at ModuleCore->fetch('module:ps_featuredproducts/views/templates/hook/ps_featuredproducts.tpl', 'ps_featuredproducts|1|1|1|2|2|6')in ps_featuredproducts.php line 252

at Ps_FeaturedProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 995

at HookCore::coreRenderWidget(object(Ps_FeaturedProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 947

at HookCore::exec('displayHome')in IndexController.php line 39

at IndexControllerCore->initContent()in Controller.php line 306

at ControllerCore->run()in Dispatcher.php line 518

at DispatcherCore->dispatch()in index.php line 28

Link to comment
Share on other sites

In the Symfony profiler -> Doctrine -> appears this at the end:

Entities Mapping

ClassMapping errors

PrestaShopBundle\Entity\AdminFilterNo errors.

PrestaShopBundle\Entity\Tab

The association PrestaShopBundle\Entity\Tab#tabLangs refers to the owning side field PrestaShopBundle\Entity\TabLang#tab which does not exist.

Link to comment
Share on other sites

On 6/9/2021 at 7:53 PM, jhmorales.ceramics said:

I've just reinstall the PS Metrics module, my webpage disappears with an error 500, this is the debug result:

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Notice: Undefined index: product_manufacturer

in 5c0eacf7f2f4d36700a5ed5b14933933ac3d58a7_2.file.product.tpl.cache.php line 178

at Block_162477098260c0ff6851e747_47142662->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_162477098260c0ff6851e747_47142662), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_162477098260c0ff6851e747_47142662))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_162477098260c0ff6851e747_47142662', 'product_price_and_shipping', 0)in 5c0eacf7f2f4d36700a5ed5b14933933ac3d58a7_2.file.product.tpl.cache.php line 325

at Block_206520262660c0ff6850c1e7_27717586->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_206520262660c0ff6850c1e7_27717586), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_206520262660c0ff6850c1e7_27717586))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_206520262660c0ff6850c1e7_27717586', 'product_miniature_item')in 5c0eacf7f2f4d36700a5ed5b14933933ac3d58a7_2.file.product.tpl.cache.php line 29

at content_60c0ff6853d0f9_52640610(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 383

at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_featuredproducts|1|1|1|2|2|6', 'child_classic', 9999, 31536000, array('product' => object(ProductLazyArray), 'position' => 0), 0, true)in 680b7dd6ad1c01a6c07b97530a1030eddc2011a0_2.file.productlist.tpl.cache.php line 42

at content_60c0ff685082a8_36477865(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 383

at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/productlist.tpl', 'ps_featuredproducts|1|1|1|2|2|6', 'child_classic', 9999, 31536000, array('products' => array(object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray), object(ProductLazyArray)), 'cssClass' => 'row'), 0, false)in fa6cc378d2942c8857b89d6bca728048c0caeedd_2.module.psfeaturedproductsviewste.cache.php line 32

at content_60c0ff685029a9_86899653(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_runtime_updatecache.php line 38

at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)in smarty_template_cached.php line 143

at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)in smarty_internal_template.php line 211

at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232

at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 40

at SmartyDevTemplateCore->fetch()in Module.php line 2480

at ModuleCore->fetch('module:ps_featuredproducts/views/templates/hook/ps_featuredproducts.tpl', 'ps_featuredproducts|1|1|1|2|2|6')in ps_featuredproducts.php line 252

at Ps_FeaturedProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 995

at HookCore::coreRenderWidget(object(Ps_FeaturedProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 947

at HookCore::exec('displayHome')in IndexController.php line 39

at IndexControllerCore->initContent()in Controller.php line 306

at ControllerCore->run()in Dispatcher.php line 518

at DispatcherCore->dispatch()in index.php line 28

This seems like an issue with the "Feature Products" module. Does the website also break if you disable that module?

Link to comment
Share on other sites

PS version 1.7.7.2, module version 2.2.1, getting the Something went wrong. Try again. in every table on the module page. Also can't connect the module to Google Analytics, the button to connect GA on the settings page in the data sources section does not show up. Contacted the developers, hopefully they can give some insight on what is going on.

 

connect_ga.thumb.png.309fe3295a306ac8eef44c45131000fe.png

Link to comment
Share on other sites

  • 4 months later...

Hi..

I have a little problem.

I Link my store on PrestaShop Metrics but I had to delete everything (files and database) and start over because I made several mistakes.

...and one of those mistakes is that I forgot to unlink the store.

...so i installed my prestashop store again but when i try to link it again i have this problem.

image.png.411aa92b9ea5c07c74df60d7af0f6185.png

 

image.png.39c348447eb8b17edf44d25e1d6f7d0a.png

How can i solve this now?

Thanks.

Link to comment
Share on other sites

  • 1 month later...

Weirdest thing. I have metrics installed, configured correctly, no issues.
However... the dashboard is blank, and if I click on the metrics link in the admin menu under stats, the page is just blank.
Prestashop 1.7.7.3

I'm about ready to chuck in the towel with Metrics, never to go back.
At least I have AW stats on the server haha

Anyone had a blank page? It was working fine yesterday. Today its broken. Reinstalled it, same story. Sigh.

Edited by Arthur BraaiBQ (see edit history)
Link to comment
Share on other sites

1 hour ago, Arthur BraaiBQ said:

Weirdest thing. I have metrics installed, configured correctly, no issues.
However... the dashboard is blank, and if I click on the metrics link in the admin menu under stats, the page is just blank.
Prestashop 1.7.7.3

I'm about ready to chuck in the towel with Metrics, never to go back.
At least I have AW stats on the server haha

Anyone had a blank page? It was working fine yesterday. Today its broken. Reinstalled it, same story. Sigh.

What do you see when you enable debug mode?

Link to comment
Share on other sites

16 hours ago, w3bsolutions said:

What do you see when you enable debug mode?

Hi - thanks for helping 🙂
When I switch on debug mode I get a list of errors:

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Link to comment
Share on other sites

7 minutes ago, Arthur BraaiBQ said:

Hi - thanks for helping 🙂
When I switch on debug mode I get a list of errors:

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 99 in file (directory hidden)/public_html/src/Adapter/EntityMapper.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Unknown error on line 335 in file (directory hidden)/public_html/classes/module/Module.php
[8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead

Checked Php version and I'm running ver 7.4 - I'm going to try 7.3 then 7.2 to see if that solves the problem, will report back.

Link to comment
Share on other sites

1 minute ago, Arthur BraaiBQ said:

I just checked, when I uninstall Metrics, now the standard stats don't show either.
On;y thing I'd done differently is install OpenGraph (facebook pixel requires microtags), I disabled it, but I still have the same problem with metrics / normal stats not showing on the dashboard.

Uninstall Facebook pixel and I bet metrics works, that's what my problem ended up being

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

Seems PrestaShop Eventbus module is making some problems - strangly enough in debug mode it shows no error however for example while trying to change order status I get information like "Unexpected error. [InvalidArgumentException kod 0]: Unsupported Sentry DSN scheme: ". After disabling it metrics do seem to work and no errors so far for 1 day. I believe if you do not like adrenaline you should avoid metrics. From the begining on PS1.6 I had problems with this module and now on 1.782 still some issues.

 

Sometimes solution is faster than expected - a new eventbus module just occured and changelog says it was the problem:

1.6.5: ## What\\\'s Changed
* fixed sentry key issue with symfony cache by @margud in https://github.com/PrestaShopCorp/ps_eventbus/pull/57
* Fix .env.dist by @jokesterfr in https://github.com/PrestaShopCorp/ps_eventbus/pull/56
* improved sentry exception handle by @margud in https://github.com/PrestaShopCorp/ps_eventbus/pull/58

 

Edited by garbus2
Update (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...