• Resolved KTS915

    (@kts915)


    I am currently testing this on a localhost test site running PHP 7.1, but I’m having problems with running out of memory.

    When I try to create a quote, I get this message:

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1485568136 bytes) in ~/wp-content/plugins/sliced-invoices/admin/includes/sliced-admin-logs.php on line 393

    And when I accept a quote, which should then turn into an invoice, I get this:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1485568056 bytes) in ~/wp-content/plugins/sliced-invoices/admin/includes/sliced-admin-logs.php on line 393

    I am not having any such problems with any other plugins. My wp-config.php file includes the following settings:

    define('WP_MEMORY_LIMIT' , '128M' );
    define( 'WP_MAX_MEMORY_LIMIT' , '512M' );

    That should be more than enough.

    I don’t know if it’s related, but the Query Monitor plugin is also reporting this PHP Notice:

    Undefined index: post
    wp-content/plugins/sliced-invoices/admin/includes/sliced-admin-metaboxes.php:692
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SlicedInvoices

    (@slicedinvoices)

    Would you mind sending me your system info file from in Sliced Invoices — Tools? You can email to me at [email protected] if you don’t want to post it here.

    Also were you getting these memory errors before the v3.3.0 update?

    Thread Starter KTS915

    (@kts915)

    I’ve just sent you an email.

    I had a memory warning when creating a quote before the v.3.3.0 update, but the quote was created anyway. It was not created this time.

    I did not try creating invoices before the update.

    Thread Starter KTS915

    (@kts915)

    By the way, you have a deprecated function on line 109 of sliced-invoices/admin/includes/browser.php

    I believe that should be changed to this:

    
    function __construct( $useragent="" ) {
    
    Plugin Author SlicedInvoices

    (@slicedinvoices)

    Thank you @kts915 for your help finding and fixing these PHP 7.1 issues!

    For anyone else reading this thread, there were a lot of emails exchanged related to this topic but, suffice to say, the issue is fixed as of Sliced Invoices v3.3.2. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Memory issues’ is closed to new replies.