Invoice error

Since updating my Shop-Script 7 which has been working fine for a good while now, my Invoice Plugin has started throwing an error up, and needless to say has stopped producing an invoice.

Fatal error: Call to undefined method shopPrintformPlugin::renderPrintform() in /homepages/0/d229731958/htdocs/rc-world.co.uk/wa-apps/shop/plugins/invoice/lib/shopInvoicePlugin.class.php on line 8

I have tried removing it the reinstalling it but it gives the same error.


Any Ideas anyone.

1 answer

  • 1
    Mike Webasyst March 16, 2019 12:07 #

    I assume you are still using Shop-Script 6, not 7 as you are writing. Please check the version number in Shop-Script settings or in the Installer. The piece of code the error message refers to was added in Shop-Script 7 and should not be able to work with Shop-Script 6.

    • +1
      Keith Fitch Keith Fitch March 16, 2019 13:29 #

      Yes, I am still using ver 6.3.0.44568. The invoice app was working fine until the last round of updates. It has worked just fine for nearly 2 years.

      • +1
        Mike Mike Webasyst March 17, 2019 15:44 #

        The Invoice plugin should not have been updated because of the system requirement in its configuration:

        'app.shop' => array(
            'version' => '>=7.1.0',
            'strict'  => true,
        ),

        It means that its latest version wasn’t supposed to be installed at all, with Shop-Script 6.3.0 (< 7.1.0) in the same account. You might, however, have updated it manually, beyond Installer, but that is not always a good choice.

        If you don’t know what to do, try to look for the plugin’s older version in backup copies saved in your web-hosting account or at wa-data/protected/wa-installer/backup/wa-apps/shop/plugins/, which is the backup storage location used by Installer app to save previous copies of Webasyst software components before replacing them with newer versions. Or update your store to Shop-Script 7.1+.

        • +1
          Keith Fitch Keith Fitch March 19, 2019 19:48 #

          Mike, I draw exception to this. According to my purchase log and on the 19/7/2015 I paid 5 USD (4.99) for 'Clean and Simple Invoice Platform for Shop Script 6

          Which as I said before has worked fine until a recent update.

          Now I don't wish to throw the rattle out of the pram but I don't feel I'm being fairly treated here. I have been a loyal customer since 2006, that is 13 years and in that time I have spent nearly 500 dollars on your products, and now you are suggesting I spend another 400 USD to upgrade to version 7 - I don't think so.

          In essence, I purchased something which is no longer fit for purpose because the parameters have been changed by something beyond my control.

          BTW that path you sent me to recover my old invoice plugin did nothing. There was nothing there.

          • +1
            Mike Mike Webasyst March 20, 2019 09:43 #

            What you have described appears to be caused by a programming error—either one in Webasyst software or in the Invoice plugin. According to what I know this should not have happened. We shall try to invistigate the issue and take steps to ensure that this does not occur in the future but, of course, merely that will not help you get the plugin working again.

            What you can do to prevent such things from happening again:

            • Back up your entire website before installing any update. Backups should also be regularly saved during its normal operation, even when you are not installing software updates. The sad truth is that in the software world things can go wrong at any moment, one just has to be prepared to fix the consequences whenever it is possible. Regular backups are probably the only way to do so. They are considered a “must have” option by most website owners and it’s a pity you did not have them set up.

            What options you have now:

            • Upgrade to the latest Shop-Script version—it’s version 8.3.0 now. Of course, it will cost you quite an amount. But, in addition to fixing this error, you will get all the new features that have been added to the platform since version 6.3.0.
            • Try to find a replacement for the plugin in Webasyst Store.
            • Contact the plugin developer to have your copy of their plugin fixed to make it operational with your Shop-Script version. I’m afraid, the developer has removed the plugin from the English version of the Webasyst Store, and it is now available only in its Russian version. You can find the developer’s contact information there: https://www.syrnik.com/support/ask/. I suppose they are capable of communicating in English since they once had their plugin localized in this language. If you are lucky, they might even do so free of charge.
            • Try to find a web developer to have a custom Invoice plugin created for your online store, perhaps with better functionality that you had been using before the previous plugin version got broken by an update.

Add answer

To add a comment please sign up or login