• Resolved gateruner

    (@gateruner)


    I am having an issue since the newest update from WooCommmerce. At this time when you try to submit an order on the check out page an error comes up that says Internal Server Error. I can see that the invoice went through on my orders area in the wordpress back office but it does not send a confirmation email or an email to place the order. On top of that the guest does not see that the order was actually placed. When you go to the orders area in the backoffice and try to open the pdf invoice it give you a server error page. I tried to run a debug and none of that make since. In Debug mode the place order option isnt available. Also tried increasing the memory limits by adding this to the config file. define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); that didnt seem to help either. I need to some help it figuring this out.

    When I disable the Pdf Invoices and Packing slips plugin the system works fine so this is definitly related to the plugin

    Any help would be GREATLY appreciated

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @gateruner

    What version of our plugin are you using?

    Could you provide us the WC log? Go to WooCommerce > Status > Logs

    Thread Starter gateruner

    (@gateruner)

    Im using Version 2.4.7 for the PDF invoices. Looks like WooCommerce is Version 4.0.0 A option to update woocommerce just showed up as well. Ill wait to hear from you to update that

    Here is the log.
    2020-03-19T12:38:21+00:00 CRITICAL Uncaught Error: Call to undefined method RevSliderFunctions::get_addition() in /home/hebca0/public_html/onesubsea/wp-content/plugins/revslider/admin/views/modals-copyright.php:15
    Stack trace:
    #0 /home/hebca0/public_html/onesubsea/wp-content/plugins/revslider/admin/includes/shortcode_generator/shortcode_generator.class.php(242): require_once()
    #1 /home/hebca0/public_html/onesubsea/wp-includes/class-wp-hook.php(288): RevSliderShortcodeWizard::enqueue_files(‘update.php’)
    #2 /home/hebca0/public_html/onesubsea/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/hebca0/public_html/onesubsea/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/hebca0/public_html/onesubsea/wp-admin/includes/template.php(2049): do_action(‘admin_footer’, ‘update.php’)
    #5 /home/hebca0/public_html/onesubsea/wp-admin/update.php(49): iframe_footer()
    #6 {main}
    thrown in /home/hebca0/public_html/onesubsea/wp-content/plugins/revslider/admin/views/modals-copyright.php on line 15

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @gateruner

    There is no errors there from our plugin. Can you test deactivating all the other plugins and keep only ours and WooCommerce and see if the problem persist?

    Also if you could check the PHP error log would be good.

    Thread Starter gateruner

    (@gateruner)

    Here is the followup. I disabled all the plugins and the theme and went back to a 2019 theme to test this. The only plugins that are enabled at this time are as follows: Woocommeerce
    WooCommerce PDF Invoices & Packing Slips
    WooCommerce PDF Invoices & Packing Slips Premium Templates

    *Here is what happens when I do the following.
    Leaving all 3 of those plugins and try to view a pdf invoice it brings up the following page error.
    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    *If i disable the Premium Templates plugin then it results in the following page being displayed.

    OneSubsea Cafe
    OneSubsea Cafe
    Prince Food Systems, Inc
    11001 S. Wilcrest Ste 200
    Houston, TX 77099

    Invoice
    Jody Destefanis

    Invoice Number: 01272
    Order Number: 1668
    Order Date: March 20, 2020
    Payment Method: Credit Card
    Fatal error: Call to a member function get_table_headers() on null
    #0 /home/hebca0/public_html/onesubsea/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(740): include()
    #1 /home/hebca0/public_html/onesubsea/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(644): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template(‘/home/hebca0/pu…’, Array)
    #2 /home/hebca0/public_html/onesubsea/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(626): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html()
    #3 /home/hebca0/public_html/onesubsea/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(662): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #4 /home/hebca0/public_html/onesubsea/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(337): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘download’)
    #5 /home/hebca0/public_html/onesubsea/wp-includes/class-wp-hook.php(288): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
    #6 /home/hebca0/public_html/onesubsea/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #7 /home/hebca0/public_html/onesubsea/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #8 /home/hebca0/public_html/onesubsea/wp-admin/admin-ajax.php(175): do_action(‘wp_ajax_generat…’)
    #9 {main}

    I am not sure how this isnt some issue related to one or the other of these plugins. I looked at the woocommerce log that you mentioned before and it has the following in it. Im not sure its releveant since the rev slider is not active now.

    2020-03-19T12:38:21+00:00 CRITICAL Uncaught Error: Call to undefined method RevSliderFunctions::get_addition() in /home/hebca0/public_html/onesubsea/wp-content/plugins/revslider/admin/views/modals-copyright.php:15
    Stack trace:
    #0 /home/hebca0/public_html/onesubsea/wp-content/plugins/revslider/admin/includes/shortcode_generator/shortcode_generator.class.php(242): require_once()
    #1 /home/hebca0/public_html/onesubsea/wp-includes/class-wp-hook.php(288): RevSliderShortcodeWizard::enqueue_files(‘update.php’)
    #2 /home/hebca0/public_html/onesubsea/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #3 /home/hebca0/public_html/onesubsea/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #4 /home/hebca0/public_html/onesubsea/wp-admin/includes/template.php(2049): do_action(‘admin_footer’, ‘update.php’)
    #5 /home/hebca0/public_html/onesubsea/wp-admin/update.php(49): iframe_footer()
    #6 {main}
    thrown in /home/hebca0/public_html/onesubsea/wp-content/plugins/revslider/admin/views/modals-copyright.php on line 15

    *Final note. Just tried to place an order with the Premium Templates plugin activated and it created the internal server error. Disabled that plugin and the order was allowed to go through. So to me this issue has to reside with the Premium Templates plugin. Hopefully you can assist me with this based on the following tests.

    Still looking to you for any assitance.

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @gateruner

    Because you’re using Premium Templates and that’s a paid plugin we can’t deliver support here. Please contact us in [email protected] and we will try our best to help you.

    Thread Starter gateruner

    (@gateruner)

    Ok thanks alex

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Internal Server Error on “Place Order”.’ is closed to new replies.