Error 500 _wp_http_referer: /wp-admin/admin.php?page=codemanas-woocommerce-previ
-
We added one order to test new order with new svg header image. Then we tried to test but hit an error 500. Browser console log showed this url when we hit the error:
_wp_http_referer: /wp-admin/admin.php?page=codemanas-woocommerce-preview-emails
in logs it showed error 500 and
POST /wp-admin/admin.php?page=codemanas-woocommerce-preview-emails HTTP/2.0
seems there is a conflict with Fancy Product Designer
Warning: Trying to access array offset on value of type null in /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/fancy-product-designer-export/class-export-provider.php on line 508 Warning: Trying to access array offset on value of type null in /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/fancy-product-designer-export/class-export-provider.php on line 509 Fatal error: Uncaught Exception: Remote file could not be created. Please try again! in /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/fancy-product-designer-export/fancy-product-designer-export.php:328 Stack trace: #0 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/fancy-product-designer-export/class-export-provider.php(520): Fancy_Product_Designer_Export::create_print_ready_file() #1 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/fancy-product-designer-export/class-export-provider.php(265): FPD_Export_Provider::get_print_ready_file_path() #2 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-includes/class-wp-hook.php(326): FPD_Export_Provider->woo_mail_attachments() #3 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #4 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(477): apply_filters() #5 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(111): WC_Email->get_attachments() #6 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/woo-preview-emails/includes/Main.php(315): WC_Email_New_Order->trigger() #7 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-includes/class-wp-hook.php(324): Codemanas\WooPreviewEmails\Main->email_preview_output() #8 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-admin/admin.php(175): do_action() #11 {main} thrown in /var/www/vhosts/snaakontwerp.nl/httpdocs/wp-content/plugins/fancy-product-designer-export/fancy-product-designer-export.php on line 328
It refers to
public static function save_remote_file( $remote_file_url ) { $local_file = basename( $remote_file_url ); $unique_dir = time().bin2hex(random_bytes(16)); $temp_dir = FPD_ORDER_DIR . 'print_ready_files/' . $unique_dir; mkdir($temp_dir); $local_file_path = $temp_dir . '/' . $local_file; $result_save = fpd_admin_write_file_content( $remote_file_url, $local_file_path ); return $result_save ? $unique_dir . '/' . $local_file : null; }
Not sure yet why the Fancy Product Designer Exporter would be triggered yet so opened ticket with them – https://fancyproductdesigner.com – as well.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error 500 _wp_http_referer: /wp-admin/admin.php?page=codemanas-woocommerce-previ’ is closed to new replies.