• Resolved toptoys

    (@toptoys)


    Buongiorno,
    stamattina dopo aver aggiornato il vostro plugin mi è comparso questo errore nell’header:

    Warning: Declaration of WPO_WCPDF_Receipt_Document::get_settings() should be compatible with WPO\WC\PDF_Invoices\Documents\Order_Document::get_settings($latest = false) in /web/htdocs/www.toptoys-italy.com/home/new/wp-content/plugins/woocommerce-pdf-invoices-italian-add-on/includes/class-wcpdf-receipt-document.php on line 24

    Come posso risolvere il problema?
    Grazie mille

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! This error comes from the Italian Add-on, please contact the developers, you can direct them to this thread.

    There are two solutions they can apply:

    1. remove the get_settings function entirely so that it uses the parent get_settings
    2. add the $latest parameter to their get_settings function

    I would recommend option 1. The developers can contact me if they have any further questions about this.

    è un problema che abbiamo già risolto con la versione 0.6.2.3. è sufficiente aggiornare anche il nostro plugin.
    Comunque grazie della segnalazione

    Thank you Ewout. At the time we had applied option 2, but in the next version we will adopt the first one

    Good morning, I keep on haveing the problem posted by toptoys. This is the sentence I get stacked haed on my site:

    Warning: Declaration of WPO\WC\PDF_Invoices\Documents\Pro_Document::get_settings() should be compatible with WPO\WC\PDF_Invoices\Documents\Order_Document::get_settings($latest = false) in /home/enotic26/staging/5/wp-content/plugins/woocommerce-pdf-ips-pro/includes/documents/abstract-wcpdf-pro-document.php on line 23

    following update of WooCommerce PDF Invoices & Packing Slips to 2.2.4, with WooCommerce PDF Invoices & Packing Slips Professional version 2.2.1, WooCommerce PDF Invoices & Packing Slips Premium Templat 2.5.5, and WooCommerce PDF Invoices Italian Add-on 0.6.2.4 installed.

    The sentence disappear if
    -I deactivate WooCommerce PDF Invoices & Packing Slips Professional 2.2.1
    -I leave active WooCommerce PDF Invoices & Packing Slips 2.2.4 only
    -I leave active WooCommerce PDF Invoices & Packing Slips 2.2.4 and
    WooCommerce PDF Invoices & Packing Slips Premium Templates 2.5.5

    Thankyou very much

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! The problem you have is similar but not related to the Italian add on. Both of the premium plugins you are using are outdated

    Professional 2.2.1 is from 2018-01-31
    Premium Templates 2.5.5 is from 2017-12-19

    If you update both to the latest version the error should disappear: How to get the latest version

    If you need further help with this, please send an email to support@wpovernight.com, www.ads-software.com only allows us to use these forums for support of the free version.

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