• Hi, when I add a new invoice or edit an existing invoice, I get a message at the top of my screen saying

    3 in /home/sites/morzinemountainescape.com/public_html/wp-content/plugins/sliced-invoices/admin/class-sliced-admin.php on line 1675 Notice: Undefined offset: 2 in /home/sites/morzinemountainescape.com/public_html/wp-content/plugins/sliced-invoices/admin/class-sliced-admin.php on line 1675 Notice: Undefined offset: 1 in /home/sites/morzinemountainescape.com/public_html/wp-content/plugins/sliced-invoices/admin/class-sliced-admin.php on line 1675 Notice: Undefined offset: 3 in /home/sites/morzinemountainescape.com/public_html/wp-content/plugins/sliced-invoices/admin/class-sliced-admin.php on line 1675 Notice: Undefined offset: 2 in /home/sites/morzinemountainescape.com/public_html/wp-content/plugins/sliced-invoices/admin/class-sliced-admin.php on line 1675 Notice: Undefined offset: 1 in /home/sites/morzinemountainescape.com/public_html/wp-content/plugins/sliced-invoices/admin/class-sliced-admin.php on line 1675

    Do you know what is causing this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter macpheek

    (@macpheek)

    can anyone help?

    Plugin Support slicedsupport

    (@slicedsupport)

    Hello

    Could you provide versions of your environment: WP, plugins, etc.? And also which plugins are installed into your WP?

    Thanks

    Thread Starter macpheek

    (@macpheek)

    Hi I am on version 4.7.3
    Plugins installed are can be seen here:

    https://morzinemountainescape.com/wp-content/uploads/2017/04/Screen-Shot-2017-04-18-at-16.30.36.png

    Plugin Support slicedsupport

    (@slicedsupport)

    I’m sorry but the image could not be accessed
    The error is:

    You don’t have permission to access /wp-content/uploads/2017/04/Screen-Shot-2017-04-18-at-16.30.36.png on this server.

    Thread Starter macpheek

    (@macpheek)

    Hi, Ok that’s strange. The plugins I have are:
    Advanced Booking calendar pro
    Askimnet anti-spam
    All in one WP security
    CM on demand search and replace
    Contact form 7
    Contact form 7 simple captcha
    Easy testimonials
    Favicon by Realfavicongenerator
    New royalslider
    Postman SMTP
    Really simple captcha
    Responsive menu
    Sliced invoices
    WPBakery visual composer

    Plugin Support slicedsupport

    (@slicedsupport)

    Hello again

    Developer told me to ask you to see your php.ini settings file for error_reporting value. This should never be set to E_ALL on production. You’d rather set it to ‘off’

    Plugin Author SlicedInvoices

    (@slicedinvoices)

    Hi @macpheek,

    As @slicedsupport already said, assuming this is a live/production site, you really shouldn’t be seeing PHP notices like this to begin with. Logging them is fine, but they should not be displayed to the screen where your site’s visitors could see them too. So I would suggest checking your php.ini and making sure display_errors = ‘Off’.

    That said, the cause of the notices is most likely some invalid entries in your “Pre-Defined Line Items” setting (found in Sliced Invoices / General Settings). Each line item consists of 4 parts: Qty, Title, Price, Description. Each of these are separated by a pipe symbol (“|”). If you wish to leave one of the parts blank, you would still need to leave the pipe symbol. If you don’t, you’ll get the PHP notices you described.

    Hope that helps!

    Thread Starter macpheek

    (@macpheek)

    Hi, sorry for the late reply. I have put the pipeline between my pre-defined line items and I am still seeing the error. Where can I find the php.ini file?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘error’ is closed to new replies.