Post by Blackwood » Sat Jun 29, 2019 4:55 am

Can anyone advise on these cache errors I'm receiving. ? Thanks

2019-06-28 20:30:23 - PHP Notice: A non well formed numeric value encountered in /home/mysite/public_html/system/library/template/Twig/Environment.php(403) : eval()'d code on line 3660
2019-06-28 20:30:23 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/cache/92/92adab00c094e8ee11a6b92fb14cbc145b402c452d5153e536be1a578058b008.php on line 3660
2019-06-28 20:33:58 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/cache/92/92adab00c094e8ee11a6b92fb14cbc145b402c452d5153e536be1a578058b008.php on line 3660
2019-06-28 20:38:41 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/cache/92/92adab00c094e8ee11a6b92fb14cbc145b402c452d5153e536be1a578058b008.php on line 3660
2019-06-28 20:38:49 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/cache/92/92adab00c094e8ee11a6b92fb14cbc145b402c452d5153e536be1a578058b008.php on line 3660
2019-06-28 20:51:08 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/cache/92/92adab00c094e8ee11a6b92fb14cbc145b402c452d5153e536be1a578058b008.php on line 3660


OC Version: 3.0.2.0

Theme: Journal 2.0

Extension/Mods:
Ajax Quick Checkout
GDPR Compliance
Edit Order Line Items
Nitropack
Product Manager
Mailchimp Integration
Opencart SEO

New member

Posts

Joined
Sun Nov 19, 2017 7:14 am

Post by straightlight » Sat Jun 29, 2019 5:13 am

Malformed TWIG instance or variable. Use the TWIG Debugger from the Marketplace to help you track down the source of those errors.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Blackwood » Thu Jul 04, 2019 8:36 pm

I'm also getting these related errors causing cache issues..

2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/catalog/controller/product/manufacturer.php on line 162
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/system/library/pagination.php on line 87
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/system/library/pagination.php on line 127
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/system/library/pagination.php on line 51
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/system/library/pagination.php on line 56
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/catalog/controller/product/manufacturer.php on line 358
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/catalog/controller/product/manufacturer.php on line 358
2019-07-04 8:56:22 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/catalog/controller/product/manufacturer.php on line 358
2019-07-03 8:45:14 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/catalog/controller/product/category.php on line 165
2019-07-03 8:45:14 - PHP Notice: A non well formed numeric value encountered in /home/mysite/storage/modification/catalog/controller/product/category.php on line 373

New member

Posts

Joined
Sun Nov 19, 2017 7:14 am

Post by straightlight » Fri Jul 05, 2019 4:22 am


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by letxobnav » Fri Jul 05, 2019 9:37 am

/home/mysite/storage/modification/catalog/controller/product/manufacturer.php
/home/mysite/storage/modification/system/library/pagination.php

looks like a modification issue.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Fri Jul 05, 2019 6:04 pm

Also affects the core. Github Opencart also demonstrates this fix.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Blackwood » Sat Jul 06, 2019 4:31 pm

straightlight wrote:
Fri Jul 05, 2019 6:04 pm
Also affects the core. Github Opencart also demonstrates this fix.
Hi Straightlight have you a link to the Github fix ?

Thanks
Ian

New member

Posts

Joined
Sun Nov 19, 2017 7:14 am

Post by straightlight » Sat Jul 06, 2019 9:25 pm

Example from the master branch: https://github.com/opencart/opencart/bl ... tegory.php . Look for:

Code: Select all

(int)$this->request->get['page'];

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Blackwood » Sun Jul 07, 2019 3:01 am

Thank You I will check and get back to you

New member

Posts

Joined
Sun Nov 19, 2017 7:14 am
Who is online

Users browsing this forum: No registered users and 2 guests