Can anyone help with this error please, OC3.0.2.0, PHP 7.1.26, Journal 3.
A non-numeric value encountered in /var/www/xxxx/xxxxxx/storage/modification/catalog/controller/product/manufacturer.php on line 180
A non-numeric value encountered in /var/www/xxxx/xxxxxx/storage/modification/catalog/controller/product/manufacturer.php on line 450
A non-numeric value encountered in /var/www/xxxx/xxxxxx/storage/modification/catalog/controller/product/manufacturer.php on line 464
also
A non-numeric value encountered in /var/www/xxxxx/xxxxxx/storage/modification/catalog/controller/product/category.php on line 199
A non-numeric value encountered in /var/www/xxxxx/xxxxxx/storage/modification/catalog/controller/product/category.php on line 481
A non-numeric value encountered in /var/www/xxxxx/xxxxxx/storage/modification/catalog/controller/product/category.php on line 495
Thanks
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You might be able to find which extension by looking in the OC mod log (2nd tab under Extensions) and look for the file mentioned in the error you posted above. That will tell you which extension is modifying that file.straightlight wrote: ↑Fri Feb 08, 2019 5:22 amCaused by an installed extension. Contact the extension developer to resolved this issue.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Histraightlight wrote: ↑Mon Feb 18, 2019 11:10 pmSolution: https://github.com/opencart/opencart/issues/7218
Would this apply for manufacturer.php & category.php as i have errors for both when running PHP 7.1.26
code I have at the moment
Code: Select all
}
if (isset($this->request->get['page'])) {
$page = $this->request->get['page'];
} else {
$page = 1;
}
Code: Select all
if (isset($this->request->get['page'])) {
$page = (int)$this->request->get['page'];
} else {
$page = 1;
}
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Just changed all the php files in catalog/controller/product with the following where required
$page = (int)$this->request->get['page'];
Also I don't have the following
catalog/controller/common/pagination.php
Much appreciated
Have it your way then. Keep all the zero values as you want in the page URL query in your store. No problem.mRC wrote: ↑Mon Mar 11, 2019 1:41 amok thanks for the info just had a read and it makes no sense to me, but thanks any way
Just changed all the php files in catalog/controller/product with the following where required
$page = (int)$this->request->get['page'];
Also I don't have the following
catalog/controller/common/pagination.php
Much appreciated
Alright so to those instead that also wants to remove the zero value from page query on the URL, follow this post: viewtopic.php?f=24&t=210459#p748892 . This should definitely resolved the issue instead of replacing each files individually.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
After adding the following mod
viewtopic.php?f=24&t=210459#p748892
I had a few error messages today, I think its related to this thread
Code: Select all
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/catalog/controller/product/search.php on line 208
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/system/library/pagination.php on line 54
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/system/library/pagination.php on line 57
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/system/library/pagination.php on line 66
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/system/library/pagination.php on line 67
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/system/library/pagination.php on line 94
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/catalog/controller/product/search.php on line 510
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/catalog/controller/product/search.php on line 510
2019-04-15 7:23:59 - PHP Notice: A non well formed numeric value encountered in /home/xxxxxxx/storage/modification/catalog/controller/product/search.php on line 510
Thanks
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Originating from an extension. Line 208 unprovided from that file.storage/modification/catalog/controller/product/search.php on line 208
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
i have OC 3.0.2.0
default theme
www.el-vet.com
Code: Select all
2019-07-30 15:49:16 - PHP Warning: Cannot modify header information - headers already sent by (output started at /home/elvetcom/public_html/system/framework.php:42) in /home/elvetcom/public_html/catalog/controller/startup/startup.php on line 157
2019-07-30 16:38:54 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:38:54 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:38:54 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:07 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:08 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:09 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/catalog/controller/extension/facebookeventparameters.php on line 348
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 189
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 54
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/public_html/system/library/pagination.php on line 94
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-30 16:39:10 - PHP Notice: A non well formed numeric value encountered in /home/elvetcom/ocartdata/storage/modification/catalog/controller/product/search.php on line 412
2019-07-31 8:17:19 - PHP Warning: A non-numeric value encountered in /home/elvetcom/public_html/admin/controller/sale/order.php on line 1799
2019-07-31 8:17:19 - PHP Warning: A non-numeric value encountered in /home/elvetcom/public_html/admin/controller/sale/order.php on line 1799
2019-07-31 8:17:19 - PHP Warning: A non-numeric value encountered in /home/elvetcom/public_html/admin/controller/sale/order.php on line 1799
2019-07-31 8:17:19 - PHP Warning: A non-numeric value encountered in /home/elvetcom/public_html/admin/controller/sale/order.php on line 1799
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Users browsing this forum: No registered users and 48 guests