Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Daniel Harper

    (@danhrpr)

    Hi @alexmigf ,

    Unfortunately that hasn’t worked, I get the following message when the FS_METHOD option is removed from the config file with the file setting set to PHP

    Fatal error: Uncaught Error: Call to undefined function WPO\IPS\Compatibility\wcpdf_log_error() in /app/web/app/plugins/woocommerce-pdf-invoices-packing-slips/includes/Compatibility/FileSystem.php:94 Stack trace:
    #0 /app/web/app/plugins/woocommerce-pdf-invoices-packing-slips/includes/Compatibility/FileSystem.php(62): WPO\IPS\Compatibility\FileSystem->initialize_wp_filesystem()
    #1 /app/web/app/plugins/woocommerce-pdf-invoices-packing-slips/includes/Compatibility/FileSystem.php(46): WPO\IPS\Compatibility\FileSystem->__construct()
    #2 /app/web/app/plugins/woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php(150): WPO\IPS\Compatibility\FileSystem::instance()
    #3 /app/web/app/plugins/woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php(185): WPO_WCPDF->includes()
    #4 /app/web/wp/wp-includes/class-wp-hook.php(324): WPO_WCPDF->load_classes('')
    #5 /app/web/wp/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #6 /app/web/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /app/web/wp/wp-settings.php(704): do_action('init')
    #8 /app/web/wp-config.php(9): require_once('/app/web/wp/wp-...')
    #9 /app/web/wp/wp-load.php(55): require_once('/app/web/wp-con...')
    #10 /app/web/wp/wp-admin/admin.php(34): require_once('/app/web/wp/wp-...')
    #11 /app/web/wp/wp-admin/plugins.php(10): require_once('/app/web/wp/wp-...')
    #12 {main} thrown in /app/web/app/plugins/woocommerce-pdf-invoices-packing-slips/includes/Compatibility/FileSystem.php on line 94

    If I have “FS_METHOD=direct” in the config file I can go in and change the setting to PHP file system in the plugin but as soon as I remove the FS_METHOD i get the issue again.

    Seemingly if I have “FS_METHOD=direct” in the config everything seems work and if I try to update plugins through the UI they just fail which is what I want.

    Cheers Dan

    Thread Starter Daniel Harper

    (@danhrpr)

    I am not using elementor.

    Although harmless I want the log file as clean as possible so when we get real errors it’s easier to find them rather than wading through notices and exceptions. Other than this and one other plugin adding an exception the log file is clean.

    Are you saying that this plugin registers everything correctly as per the docs?

    Thread Starter Daniel Harper

    (@danhrpr)

    I will double check how the order status is being changed in the order system plugin, perhaps they are changing it with their own custom API instead of the default Woo one.

    Thread Starter Daniel Harper

    (@danhrpr)

    Just to add, the order status change is being triggered through the an api.

    It’s an order system that’s changing the order status not a user.

    Thread Starter Daniel Harper

    (@danhrpr)

    Hi @mrclayton,

    This does seemed to have solved the issue.

    Is this a bug or is it just something that can’t technically be solved?

    Cheers Dan

    Did you find the issue with this?

    I seem to have a similar problem, no config changes that I recall and no code changes either.

Viewing 6 replies - 1 through 6 (of 6 total)