• Resolved ellerish20

    (@ellerish20)


    We tried publishing/updating a product on our EDD Webstore (plugin updated to V3) but it keeps showing a Publishing Error on the edit page, yet when checked, the product page is succesfully published/updated.

    WE found out that Awesome Support plugin has a compatibility issue with EDD V3 so we can’t able to get success message after saving Downloads Page. After deactivating Awesome Support plugin, it suddenly worked fine.

    See PHP error log below:

    [20-Jul-2022 02:54:34 UTC] PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /www/psstageps_855/public/wp-includes/formatting.php:1595
    Stack trace:
    #0 /www/psstageps_855/public/wp-includes/formatting.php(1595): preg_match(‘/[\\x80-\\xff]/’, Array)
    #1 /www/psstageps_855/public/wp-includes/formatting.php(2195): remove_accents(Array)
    #2 /www/psstageps_855/public/wp-content/plugins/awesome-support/includes/class-product-sync.php(237): sanitize_title(Array)
    #3 /www/psstageps_855/public/wp-content/plugins/awesome-support/includes/class-product-sync.php(517): WPAS_Product_Sync->map_args(Array)
    #4 /www/psstageps_855/public/wp-includes/class-wp-hook.php(309): WPAS_Product_Sync->get_terms(Array, Array, Array)
    #5 /www/psstageps_855/public/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
    #6 /www/psstageps_855/public/wp-includes/taxonomy.php(1334): apply_filters(‘get_terms’, Array, Array, Array, Object(WP_Term_Query))
    #7 /www/psstageps_855/public/wp-includes/taxonomy.php(2248): get_terms(Array)
    #8 /www/psstageps_855/public/wp-content/mu-plugins/kinsta-mu-plugins/cache/class-cache-purge.php(464): wp_get_object_terms(Array, Array)
    #9 /www/psstageps_855/public/wp-content/mu-plugins/kinsta-mu-plugins/cache/class-cache-purge.php(307): Kinsta\Cache_Purge->get_post_archives_list(Object(WP_Post))
    #10 /www/psstageps_855/public/wp-content/mu-plugins/kinsta-mu-plugins/cache/class-cache-purge.php(136): Kinsta\Cache_Purge->initiate_purge(28536)
    #11 /www/psstageps_855/public/wp-includes/class-wp-hook.php(307): Kinsta\Cache_Purge->post_published(‘publish’, ‘draft’, Object(WP_Post))
    #12 /www/psstageps_855/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #13 /www/psstageps_855/public/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #14 /www/psstageps_855/public/wp-includes/post.php(5303): do_action(‘transition_post…’, ‘publish’, ‘draft’, Object(WP_Post))
    #15 /www/psstageps_855/public/wp-includes/post.php(4563): wp_transition_post_status(‘publish’, ‘draft’, Object(WP_Post))
    #16 /www/psstageps_855/public/wp-includes/post.php(4775): wp_insert_post(Array, true, false)
    #17 /www/psstageps_855/public/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(831): wp_update_post(Array, true, false)
    #18 /www/psstageps_855/public/wp-includes/rest-api/class-wp-rest-server.php(1143): WP_REST_Posts_Controller->update_item(Object(WP_REST_Request))
    #19 /www/psstageps_855/public/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/wp/v2/edd-down…’, Array, NULL)
    #20 /www/psstageps_855/public/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch(Object(WP_REST_Request))
    #21 /www/psstageps_855/public/wp-includes/rest-api.php(394): WP_REST_Server->serve_request(‘/wp/v2/edd-down…’)
    #22 /www/psstageps_855/public/wp-includes/class-wp-hook.php(307): rest_api_loaded(Object(WP))
    #23 /www/psstageps_855/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
    #24 /www/psstageps_855/public/wp-includes/plugin.php(524): WP_Hook->do_action(Array)
    #25 /www/psstageps_855/public/wp-includes/class-wp.php(398): do_action_ref_array(‘parse_request’, Array)
    #26 /www/psstageps_855/public/wp-includes/class-wp.php(770): WP->parse_request(”)
    #27 /www/psstageps_855/public/wp-includes/functions.php(1330): WP->main(”)
    #28 /www/psstageps_855/public/wp-blog-header.php(16): wp()
    #29 /www/psstageps_855/public/index.php(17): require(‘/www/psstageps_…’)
    #30 {main}
    thrown in /www/psstageps_855/public/wp-includes/formatting.php on line 1595
    [20-Jul-2022 02:54:35 UTC] PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in /www/psstageps_855/public/wp-includes/formatting.php:1595
    Stack trace:
    #0 /www/psstageps_855/public/wp-includes/formatting.php(1595): preg_match(‘/[\\x80-\\xff]/’, Array)
    #1 /www/psstageps_855/public/wp-includes/formatting.php(2195): remove_accents(Array)
    #2 /www/psstageps_855/public/wp-content/plugins/awesome-support/includes/class-product-sync.php(237): sanitize_title(Array)
    #3 /www/psstageps_855/public/wp-content/plugins/awesome-support/includes/class-product-sync.php(517): WPAS_Product_Sync->map_args(Array)
    #4 /www/psstageps_855/public/wp-includes/class-wp-hook.php(309): WPAS_Product_Sync->get_terms(Array, Array, Array)
    #5 /www/psstageps_855/public/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
    #6 /www/psstageps_855/public/wp-includes/taxonomy.php(1334): apply_filters(‘get_terms’, Array, Array, Array, Object(WP_Term_Query))
    #7 /www/psstageps_855/public/wp-includes/taxonomy.php(2248): get_terms(Array)
    #8 /www/psstageps_855/public/wp-content/mu-plugins/kinsta-mu-plugins/cache/class-cache-purge.php(464): wp_get_object_terms(Array, Array)
    #9 /www/psstageps_855/public/wp-content/mu-plugins/kinsta-mu-plugins/cache/class-cache-purge.php(307): Kinsta\Cache_Purge->get_post_archives_list(Object(WP_Post))
    #10 /www/psstageps_855/public/wp-content/mu-plugins/kinsta-mu-plugins/cache/class-cache-purge.php(180): Kinsta\Cache_Purge->initiate_purge(28536)
    #11 /www/psstageps_855/public/wp-includes/class-wp-hook.php(307): Kinsta\Cache_Purge->post_updated(28536, Object(WP_Post), true)
    #12 /www/psstageps_855/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #13 /www/psstageps_855/public/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #14 /www/psstageps_855/public/wp-includes/post.php(4684): do_action(‘wp_insert_post’, 28536, Object(WP_Post), true)
    #15 /www/psstageps_855/public/wp-includes/post.php(4775): wp_insert_post(Array, false, true)
    #16 /www/psstageps_855/public/wp-admin/includes/post.php(426): wp_update_post(Array)
    #17 /www/psstageps_855/public/wp-admin/post.php(227): edit_post()
    #18 {main}
    thrown in /www/psstageps_855/public/wp-includes/formatting.php on line 1595

    Therefore for the meantime, we stopped using your plugin. Please help us get this fixed. Thank you.

    • This topic was modified 2 years, 4 months ago by ellerish20.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MAJOR BUG with EDD V3’ is closed to new replies.