• Resolved kodypardue

    (@kodypardue)


    Ever since migrating our wordpress site from shared hosting to our own server (both w/ GoDaddy) we get a blank white screen w/ the text “Sorry Security Failed main file” <span style=”text-decoration: underline;”>after submitting/creating a new order on the backend</span>. The order still submits and saves just fine. We just have to navigate back to the wp-admin/orders screen to see it. Please see screenshot below

    /wp-admin/post-new.php?post_type=shop_order (URL of new order screen referred to before clicking “create”)

    This has been going on since ~April 2023. We’ve reached out to GoDaddy support, but was told since it wasn’t reported within a 15 or 30 day grace period after the migration, they’re unable to look into (for free).

    I’ve been researching this for months with no luck. I really feel the issue is probably just a single line of code somewhere that didn’t copy/migrate correctly. Especially since I had to clean up a lot of various links/etc after that were changed to this “temporary” domain that was something like “mywebsitetransfer…”

    ANY assistance will be GREATLY appreciated!!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Alex

    (@alexlavigin)

    I faced the same problem

    I found the problem is that the delivery method was not selected and that means the Order tracking plugin does not work. It does not create a nonce cod and does not pass the test and therefore produces this message.

    I solved the problem by adding it to the plugin check

    ! empty( $order->get_items( 'shipping' ) )

    This is the file class-af-order-track-main.php line 206
    Path to this file: /wp-content/plugins/addify-order-tracking-for-woocommerce/admin/class-af-order-track-main.php

    Should look like this
    if ( ! in_array( get_post_status( $post_id ), $exclude_statuses ) && ! is_ajax() && 'untrash' != $action_afotrck && ! empty( $order->get_items( 'shipping' ) ) )

    But the problem remains that it first sends the letter and only then stores the value in the database.
    This is a problem if the order is created manually not through the checkout page

    The plugin is extremely poorly written and does not really meet coding standards. There are very big problems with expanding it or customizing the templates.

    • This reply was modified 1 year ago by Alex.
    Thread Starter kodypardue

    (@kodypardue)

    So the issue is being caused solely by the Order Tracking Plugin by Addify? Yes, this plugin is heavily relied on by our workflow now and over time I’ve been surprised by its poor quality considering it’s THE recommended tracking plugin by Woocommerce. So, does this fix this issue w/ your code above?

    Saif

    (@babylon1999)

    Hello @kodypardue,

    Thank you for reaching out!

    Just to confirm, did you purchase the Order Tracking for WooCommerce extension from our extensions store or directly from Addify?

    If it was from our store, kindly open a ticket via WooCommerce.com > MY profile > Support. This will allow us to redirect your request to the appropriate team for assistance. :?)

    by its poor quality considering it’s THE recommended tracking plugin by Woocommerce

    I don’t intend to defend or promote Addify, but they offer various WooCommerce solutions and maintain an average rating of 4.6/5 in our store. This might just be a minor issue. :?)

    Additionally, our team offers a Shipment Tracking extension as an alternative if you’re exploring other options. Feel free to check it out!


    All extensions sold on WooCommerce.com have a 30-day refund policy. If the product doesn’t work the way you need it or you think another product would work better, we are more than happy to provide a full refund.

    Thank you so much for your valuable input, @alexlavigin!

    Cheers!

    Alex

    (@alexlavigin)

    @kodypardue Yes my code solves this problem. Sorry for the late reply, didn’t see the notification

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Sorry Security Failed main file” after creating manual order on admin’ is closed to new replies.