• Resolved ktrem

    (@ktrem)


    Hi,

    After installing the plugin, my website won’t load and I get the following error:

    Fatal error: Uncaught Error: Call to undefined function is_wc_endpoint_url() in /homepages/22/d787220083/htdocs/app787226011/wp-content/plugins/delivery-drivers-for-woocommerce/public/class-ddwc-public.php:93 Stack trace: #0 /homepages/22/d787220083/htdocs/app787226011/wp-includes/class-wp-hook.php(286): Delivery_Drivers_Public->enqueue_scripts(”) #1 /homepages/22/d787220083/htdocs/app787226011/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /homepages/22/d787220083/htdocs/app787226011/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /homepages/22/d787220083/htdocs/app787226011/wp-includes/script-loader.php(2537): do_action(‘wp_enqueue_scri…’) #4 /homepages/22/d787220083/htdocs/app787226011/wp-includes/class-wp-hook.php(286): wp_enqueue_scripts(”) #5 /homepages/22/d787220083/htdocs/app787226011/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /homepages/22/d787220083/htdocs/app787226011/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 /homepages/22 in /homepages/22/d787220083/htdocs/app787226011/wp-content/plugins/delivery-drivers-for-woocommerce/public/class-ddwc-public.php on line 93
    The site is experiencing technical difficulties.

    Thanks for any help!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Robert DeVore

    (@deviodigital)

    It sounds like it’s not finding the is_wc_endpoint_url() function which is included in WooCommerce.

    Do you have WooCommerce installed and activated? If you do, what version of WooCommerce are you running?

    Thread Starter ktrem

    (@ktrem)

    Hi! That was the issue. Thanks for the help!

    Plugin Author Robert DeVore

    (@deviodigital)

    Great, I’m glad you got it sorted out! ??

    Hey, Im having the same Issue. When I download the plugin, I get an Error on my website. What can I do to solve this issue?
    And what do you mean by “It sounds like it’s not finding the is_wc_endpoint_url() function which is included in WooCommerce.”

    Plugin Author Robert DeVore

    (@deviodigital)

    @kw1twin1 WooCommerce needs to be installed and activated. In the WooCommerce plugin, there is a function named is_wc_endpoint_url and in the DDWC plugin I utilize that function.

    If WooCommerce is not activated, that function is not found, which causes the error.

    Please make sure WooCommerce is installed and activated, and let me know if that solves the issue.

    Hey, Im having the same Issue. When I download the plugin, I get an Error on my website. What can I do to solve this issue?
    And what do you mean by “It sounds like it’s not finding the is_wc_endpoint_url() function which is included in WooCommerce.”

    Ok so woocommerce is installed and activated. How do I utilize the function is_wc_endpoint_url into DDWC plugin. Im not sure what you mean

    Plugin Author Robert DeVore

    (@deviodigital)

    Did WooCommerce being installed and activated fix the error like it did for @ktrem?

    That function isn’t used by you specifically, it’s used in the DDWC plugin itself to communicate with WooCommerce.

    I was just referencing that since the error was referencing that function name, WooCommerce not being installed/activated would cause it.

    No it did not fix the issue. I have woocommerce installed and activated. I installed and activated Ddwc on to my site again after deactivating it and deleting it. I’m still having the same issue.

    Plugin Author Robert DeVore

    (@deviodigital)

    Can you copy the error code over so I can see what it reads, and do some digging for you?

    Error Details
    =============
    An error of type E_ERROR was caused in line 86 of the file /home/u103295565/domains/boltlaundry.com/public_html/wp-content/plugins/delivery-drivers-for-woocommerce/admin/ddwc-woocommerce-account-tab.php. Error message: Uncaught ArgumentCountError: Too few arguments to function ddwc_endpoint_title(), 1 passed in /home/u103295565/domains/boltlaundry.com/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/u103295565/domains/boltlaundry.com/public_html/wp-content/plugins/delivery-drivers-for-woocommerce/admin/ddwc-woocommerce-account-tab.php:86
    Stack trace:
    #0 /home/u103295565/domains/boltlaundry.com/public_html/wp-includes/class-wp-hook.php(286): ddwc_endpoint_title(‘Dorothy Saunder…’)
    #1 /home/u103295565/domains/boltlaundry.com/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘Dorothy Saunder…’, Array)
    #2 /home/u103295565/domains/boltlaundry.com/public_html/wp-content/themes/gowash/fw/core/core.wp.php(1471): apply_filters(‘the_title’, ‘Dorothy Saunder…’)
    #3 /home/u103295565/domains/boltlaundry.com/public_html/wp-content/themes/gowash/plugins/support.testimonials.php(333): gowash_get_post_data(Array)
    #4 /home/u103295565/domains/boltlaundry.com/public_html/wp-includes/short

    Plugin Author Robert DeVore

    (@deviodigital)

    Thank you for the error details.

    It looks like it’s the filter in DDWC that changes the_title via a filter, and it’s conflicting with the way your theme is using the_title:

    #2 /home/u103295565/domains/boltlaundry.com/public_html/wp-content/themes/gowash/fw/core/core.wp.php(1471)

    I am not able to access the GoWash theme to check that file and see what the issue is, but if you would like to share login details via email I can look into it further for you.

    https://www.deviodigital.com/contact

    Thanks!

    Thank you. I just sent my login credentials to my site to you through email.

    • This reply was modified 5 years, 2 months ago by kw1twin1.
    Plugin Author Robert DeVore

    (@deviodigital)

    Got it, thank you. I’ll let you know via email what I am able to find.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Error on website after plugin installed’ is closed to new replies.