Hello,
A strange problem appears for a few days ... when uploading a new product or editing, gives me errors:
Notice: Undefined index: manufacturer_id in /home/system/modification/admin/controller/catalog/product.php on line 1699
Notice: Undefined variable: applied in /home/admin/view/template/common/show_all.tpl on line 32Warning: in_array() expects parameter 2 to be array, null given in /home/salsabg1/zakrasotata.com/admin/view/template/common/show_all.tpl on line 32
what can be attributed to this, and how can it be corrected?
A strange problem appears for a few days ... when uploading a new product or editing, gives me errors:
Notice: Undefined index: manufacturer_id in /home/system/modification/admin/controller/catalog/product.php on line 1699
Notice: Undefined variable: applied in /home/admin/view/template/common/show_all.tpl on line 32Warning: in_array() expects parameter 2 to be array, null given in /home/salsabg1/zakrasotata.com/admin/view/template/common/show_all.tpl on line 32
what can be attributed to this, and how can it be corrected?
Share this post:
Responses (5)
-
Accepted Answer
First of, ask yourself what did you change between working and not working.
Second, ask your hosting provider if they did change anything before this occurred.
Third, check if you have been hacked.
Anyhow it's just a notice, and you should not have error display on, unless you're debugging. The system will normally work fine even if there is notices, because they are just notices, not errors ...
So turn of your error display: https://arastta.org/docs/user-manual/system/settings/server
Display Errors: Whether to display the PHP errors, warnings and notices produced by your store. This should be set to "No" for a live store.
-
Accepted Answer
-
Accepted Answer
If there was no changes, there would be no change in behaviour, so someone doesn't know the truth, or isn't telling it. Without the full info nobody can tell why this happens, but just turn of debugging, and if all is working fine it's no big deal. Maybe you installed an extension or ten, and forgot, changed error display or anything else. -
Accepted Answer
The problem is solved!
The server I used was php version 5.3, after changing php 5.6 problems was removed.
Greetings!
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »