Post by tappa31 » Thu Aug 22, 2019 3:42 pm

Hi, does anyone else have this error and were you abel to fix it? I am using Opencart 3.0.3.2 with theme Journal 3.
Notice: Indirect modification of overloaded property ControllerProductProduct::$data has no effect in /xxx/xxx/public_html/storage/modification/catalog/controller/product/product.php on line 348Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx.com/public_html/xxxx/catalog/controller/startup/error.php:34) in /xxx/xxx/xxxx/xxxxx.com/catalog/model/journal3/product.php on line 375

Newbie

Posts

Joined
Sat Oct 31, 2015 5:46 am

Post by kestas » Thu Aug 22, 2019 4:20 pm

tappa31 wrote:
Thu Aug 22, 2019 3:42 pm
Hi, does anyone else have this error and were you abel to fix it? I am using Opencart 3.0.3.2 with theme Journal 3.
Notice: Indirect modification of overloaded property ControllerProductProduct::$data has no effect in /xxx/xxx/public_html/storage/modification/catalog/controller/product/product.php on line 348Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx.com/public_html/xxxx/catalog/controller/startup/error.php:34) in /xxx/xxx/xxxx/xxxxx.com/catalog/model/journal3/product.php on line 375
You should ask Journal developers first. This error is related to journal 3 theme.

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by JazzBlueRT » Mon Sep 30, 2019 1:51 am

You should turn off error reporting on a production store and on a production server.

I wish more devs would code to the point of eliminating notices. A PHP notice is still a bug in the code and all vars should be checked before usage anyway.

As for the error message, this is common PHP notice when you try to call or set a method or property that does not exist in an OpenCart model. Usually this happens from a typo or forgetting to use the () on function calls. The Journal 3 devs should provide a patch to fix the notice

------------------------------------------
Retro gifts, toys, games and accessories
https://www.retroactives.com/


User avatar
New member

Posts

Joined
Mon Nov 06, 2017 1:34 am
Who is online

Users browsing this forum: No registered users and 8 guests