Title: error
Last modified: April 6, 2017

---

# error

 *  [macpheek](https://wordpress.org/support/users/macpheek/)
 * (@macpheek)
 * [9 years ago](https://wordpress.org/support/topic/error-914/)
 * 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](https://wordpress.org/support/users/macpheek/)
 * (@macpheek)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/error-914/#post-9016674)
 * can anyone help?
 *  Plugin Support [slicedsupport](https://wordpress.org/support/users/slicedsupport/)
 * (@slicedsupport)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9030239)
 * Hello
 * Could you provide versions of your environment: WP, plugins, etc.? And also which
   plugins are installed into your WP?
 * Thanks
 *  Thread Starter [macpheek](https://wordpress.org/support/users/macpheek/)
 * (@macpheek)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9041367)
 * Hi I am on version 4.7.3
    Plugins installed are can be seen here:
 * [http://morzinemountainescape.com/wp-content/uploads/2017/04/Screen-Shot-2017-04-18-at-16.30.36.png](http://morzinemountainescape.com/wp-content/uploads/2017/04/Screen-Shot-2017-04-18-at-16.30.36.png)
 *  Plugin Support [slicedsupport](https://wordpress.org/support/users/slicedsupport/)
 * (@slicedsupport)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9041881)
 * 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](https://wordpress.org/support/users/macpheek/)
 * (@macpheek)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9041897)
 * 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](https://wordpress.org/support/users/slicedsupport/)
 * (@slicedsupport)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9048320)
 * 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](https://wordpress.org/support/users/slicedinvoices/)
 * (@slicedinvoices)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9058703)
 * Hi [@macpheek](https://wordpress.org/support/users/macpheek/),
 * As [@slicedsupport](https://wordpress.org/support/users/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](https://wordpress.org/support/users/macpheek/)
 * (@macpheek)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9062002)
 * 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.

 * ![](https://ps.w.org/sliced-invoices/assets/icon.svg?rev=1314180)
 * [Sliced Invoices - WordPress Invoice Plugin](https://wordpress.org/plugins/sliced-invoices/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sliced-invoices/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sliced-invoices/)
 * [Active Topics](https://wordpress.org/support/plugin/sliced-invoices/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliced-invoices/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliced-invoices/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [macpheek](https://wordpress.org/support/users/macpheek/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/error-914/#post-9062002)
 * Status: not resolved