• Resolved mollyk

    (@mollyk)


    Our website just went down due to a fatal error with this plugin. This is the message we received: An error of type?E_ERROR?was caused in line?257?of the file?/home4/themysu9/public_html/crimsoninc/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-writepanel.php. Error message:?Uncaught Error: Call to undefined function wc_get_page_screen_id() in /home4/themysu9/public_html/crimsoninc/wp-content/plugins/woocommerce-delivery-notes/includes/class-wcdn-writepanel.php:257 Stack trace: #0 /home4/themysu9/public_html/crimsoninc/wp-includes/class-wp-hook.php(312): WCDN_Writepanel->add_box('product') #1 /home4/themysu9/public_html/crimsoninc/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /home4/themysu9/public_html/crimsoninc/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home4/themysu9/public_html/crimsoninc/wp-admin/includes/meta-boxes.php(1715): do_action('add_meta_boxes', 'product', Object(WP_Post)) #4 /home4/themysu9/public_html/crimsoninc/wp-admin/edit-form-advanced.php(271): register_and_do_post_meta_boxes(Object(WP_Post)) #5 /home4/themysu9/public_html/crimsoninc/wp-admin/post.php(206): require('/home4/themysu9...') #6 {main} thrown

    I’m not a technical person but I wonder if there’s a way for us to fix this quickly.

    Thanks very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Mollyk,

    We have fixed this issue, & I am sending you a patch file to resolve this issue.

    1. You can download the code patch from this link – https://www.dropbox.com/scl/fi/6souiyk7wfsbmxm6upru2/class-wcdn-writepanel.php?rlkey=4cuvq1ljberniea33jl9uy4bx&dl=0
    2. After downloading the file, you can replace it with the original file in the \wp-content\plugins\woocommerce-delivery-notes\includes.
    3. The patch makes the necessary changes to fix the bug and has been tested thoroughly.

    Please let me know if the provided solution was helpful for you.

    Regards,
    Nikhil.

    Thread Starter mollyk

    (@mollyk)

    Thanks very much for the reply. This is a little above my expertise level. If I delete and re-download the plugin would that resolve the issue, as well? (I’m just not sure what I’m replacing and how to replace it. Sorry. php moron here.)

    Hi mollyk,

    Re-downloading the plugin would not resolve this issue.

    Create the ticket here on our support tool so that we can communicate in detail.

    Regards,
    Nikhil.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error’ is closed to new replies.