Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 98304 bytes) in /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/Compatibility/FileSystem.php on line 99

Fatal error: Uncaught Error: Call to undefined function Automattic\WooCommerce\Internal\Utilities\WP_Filesystem() in /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Utilities/FilesystemUtil.php:112 Stack trace: #0 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Utilities/FilesystemUtil.php(25): Automattic\WooCommerce\Internal\Utilities\FilesystemUtil::initialize_wp_filesystem() #1 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(253): Automattic\WooCommerce\Internal\Utilities\FilesystemUtil::get_wp_filesystem() #2 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(437): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_writable() #3 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(135): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->write() #4 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php(60): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->write_to_file() #5 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php(189): Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2->handle() #6 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-logger.php(236): WC_Logger->log() #7 /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php(414): WC_Logger->critical() #8 [internal function]: WooCommerce->log_errors() #9 {main} thrown in /var/www/vhosts/refinedhandmade.co.nz/httpdocs/wp-content/plugins/woocommerce/src/Internal/Utilities/FilesystemUtil.php on line 112