• Resolved itaiaze

    (@itaiaze)


    Hello,

    I recently changed to Hostinger web servers (via site migration). After the change, I noticed that this plugin no longer works, it gives me a 404 error.

    -I tried resetting everything in the tools tab
    -deleting/installing anew
    Yet I still get a 404 when I click on the PDF invoice in my woocommerce orders.

    I got this error message too (— = removed directory name):

    Error Details

    An error of type E_ERROR was caused in line 260 of the file /home/—-/domains/—-.com/public_html/wp-content/plugins/woocommerce/src/Packages.php. Error message: Uncaught Error: Call to a member function get_column_count() on null in /home/—-/domains/—-.com/public_html/wp-content/plugins/woocommerce/src/Packages.php:260
    Stack trace: 0 /home/—-/domains/—-.com/public_html/wp-includes/class-wp-hook.php(326): Automattic\WooCommerce\Packages::display_notice_for_merged_plugins() 1 /home/—-/domains/—-.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 2 /home/—-/domains/—-.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/—-/domains/—-.com/public_html/wp-admin/includes/class-wp-plugins-list-table.php(1491): do_action() 4 /home/—-/domains/—-.com/public_html/wp-admin/includes/class-wp-plugins-list-table.php(711): WP_Plugins_List_Table->single_row() 5 /home/—-/domains/—-.com/public_html/wp-admin/includes/class-wp-list-table.php(1712): WP_Plugins_List_Table->display_rows() 6 /home/—-/domains/—-.com/public_html/wp-admin/includes/class-wp-list-table.php(1639): WP_List_Table->display_rows_or_placeholder() 7 /home/—-/domains/—-.com/public_html/wp-admin/includes/ajax-actions.php(4834): WP_List_Table->display() 8 /home/—-/domains/—-.com/public_html/wp-includes/class-wp-hook.php(324): wp_ajax_search_plugins() 9 /home/—-/domains/—-.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 10 /home/—-/domains/—-.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 11 /home/—-/domains/—-.com/public_html/wp-admin/admin-ajax.php(192): do_action() 12 {main}

    I look forward to fixing it. I love your plugin!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @itaiaze,

    This issue could be related with a corrupted installation.

    Please try downloading a fresh installation of the latest release here:?https://downloads.www.ads-software.com/plugin/woocommerce-pdf-invoices-packing-slips.3.9.0.zip

    Then, follow these steps to reinstall the plugin:

    • Go to Plugins > Add New Plugin
    • Click on the “Upload Plugin” button, choose the file you will download using the link I shared above, and then click on “Install Now”
    • Finally, replace your installed version with the new one.

    Let me know whether it worked or not!

    Thread Starter itaiaze

    (@itaiaze)

    So I tried all above.
    Reset fonts, regenerated temp directory, removed released locks, remove temp files, increased my WP memory to 256MB. Still get 404 error!

    What’s weird is that I can see the last order invoice in the preview, but the one I got through email was totally blank!

    Any help would be appreciated.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Thanks for trying that, @itaiaze:

    At this point, I think your case could be related with the configuration of your permalinks. Please note that, if you have activated the “Pretty documents links” option in WooCommerce?> PDF?Invoices?> Advanced, you have to rewrite the permalinks manually, when you migrate your site from a server to another. To do this, you just need to go to your WordPress Dashboard?> General > Permalinks, and just save the changes, without performing any changes. It’s that easy ??

    Please note that this routine runs automatically when you enable this setting in the original site.

    Thread Starter itaiaze

    (@itaiaze)

    Hello,

    I tried doing that. Saved twice. Unfortunately, I still get a 404 when I click on the invoice link in my WooCommerce order console… But, I did get a proper invoice in the sales order email!?

    At this point, I’m thinking, is there a way to do a clean install? I’m sure it would run on my site if it was clean installed…

    Plugin Contributor Yordan Soares

    (@yordansoares)

    That is weird. Could you please confirm whether you have activated the “Pretty documents links” option or not? This is located in?WooCommerce?> PDF?Invoices?> Advanced.

    Thread Starter itaiaze

    (@itaiaze)

    Ok removed the “pretty documents links” option and it now works. When I re-check the option, I get a 404.

    I’m not sure what that does, but as long as it works, I’m happy.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Actually, re-enabling the pretty documents links should work as well, so I wonder if maybe something is interfering in the middle. Anyway, I’m happy that the default link structure works for you as well ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.