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?
Wednesday, May 09 2018, 04:31 PM
Share this post:
Responses (5)
  • Accepted Answer

    Thursday, May 10 2018, 12:34 AM - #Permalink
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, May 10 2018, 10:27 AM - #Permalink
    i write it wrong
    Thank you for your support and your time
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 12 2018, 10:05 AM - #Permalink
    I discussed it with the hosting provider, but he said he did not make any changes to the server. The problem arose about a month. There are no changes to the files. Strange, but a fact!

    I know I can exclude them from seeing them as a mistake, but is this a solution to the problem?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, May 12 2018, 12:26 PM - #Permalink
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, May 14 2018, 05:13 PM - #Permalink
    The problem is solved!

    The server I used was php version 5.3, after changing php 5.6 problems was removed.

    Greetings!
    Like
    1
    The reply is currently minimized Show
Your Reply