Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ewout


    Hello Chirag,
    It looks like you are calling a non-existent function. There is no get_order_taxes_custom() in the plugin by default, it’s probably a function that you created to return your own taxes formatting? Whenever you update, modifications you make to the plugin core files are overwritten. That’s why I recommend to copy your template files to your theme folder (like you did). Inside the template php file you’re free to create as many functions/php code as you want, so there’s no need to modify the core files in that case.

    Let me know if you still have any questions though!


    Thread Starter Chirag Vora


    Hi Ewout, thanks for the reply.

    I had customised the template and placed it in within woocommerce folder within the active theme directory.
    The problems arised after updating this plugin and even the premium template plugin.

    I am mailing you the details. Will appreciate if you can have a look.

    Plugin Author Ewout


    Hi Chirag,
    It does not matter if you placed the customized template in the theme folder, if you modify core functions (you are calling a function $wpo_wcpdf->get_order_taxes_custom() that does not exist in the plugin), they will still be overwritten. The template itself will remain unchanged though.


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