• Resolved Oded Talmon

    (@odedta)


    Hello,

    I have installed a fresh copy of WordPress, Woocommerce and WC Vendors on localhost for testing purposes.
    Everything is now setup, however, when I login as a vendor and try to add a product, after clicking the Submit button I get this error (on Chrome):

    The localhost page isn’t working

    localhost is currently unable to handle this request.
    HTTP ERROR 500

    Does it have something to do with this plugin running on localhost? When I login as admin to WordPress I can see the new product in “Pending” mode, even if I try to edit it as an Admin and click Publish I get the same 500 error code. The product is then published in the store but not on the Vendor storefront.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,
    Please check your error_logs to determine the source of the 500 error.
    What do the error logs say?

    Typically our plugins work just fine on a local host. What are you using for your local environment?

    Thread Starter Oded Talmon

    (@odedta)

    PHP Fatal error:  Cannot redeclare class WC_Email_Notify_Shipped in C:\wamp64\www\wc\wp-content\plugins\wc-vendors\classes\admin\emails\class-wc-notify-shipped.php on line 198
    
    PHP Stack trace:
    
    PHP   1. {main}() C:\wamp64\www\wc\wp-admin\post.php:0
    
    PHP   2. edit_post() C:\wamp64\www\wc\wp-admin\post.php:193
    
    PHP   3. wp_update_post() C:\wamp64\www\wc\wp-admin\includes\post.php:378
    
    PHP   4. wp_insert_post() C:\wamp64\www\wc\wp-includes\post.php:3578
    
    PHP   5. wp_transition_post_status() C:\wamp64\www\wc\wp-includes\post.php:3420
    
    PHP   6. do_action() C:\wamp64\www\wc\wp-includes\post.php:3960
    
    PHP   7. WP_Hook->do_action() C:\wamp64\www\wc\wp-includes\plugin.php:453
    
    PHP   8. WP_Hook->apply_filters() C:\wamp64\www\wc\wp-includes\class-wp-hook.php:323
    
    PHP   9. call_user_func_array:{C:\wamp64\www\wc\wp-includes\class-wp-hook.php:298}() C:\wamp64\www\wc\wp-includes\class-wp-hook.php:298
    
    PHP  10. WCMp_Product->on_all_status_transitions() C:\wamp64\www\wc\wp-includes\class-wp-hook.php:298
    
    PHP  11. WooCommerce->mailer() C:\wamp64\www\wc\wp-content\plugins\dc-woocommerce-multi-vendor\classes\class-wcmp-product.php:683
    
    PHP  12. WC_Emails::instance() C:\wamp64\www\wc\wp-content\plugins\woocommerce\woocommerce.php:536
    
    PHP  13. WC_Emails->__construct() C:\wamp64\www\wc\wp-content\plugins\woocommerce\includes\class-wc-emails.php:37
    
    PHP  14. WC_Emails->init() C:\wamp64\www\wc\wp-content\plugins\woocommerce\includes\class-wc-emails.php:106
    
    PHP  15. apply_filters() C:\wamp64\www\wc\wp-content\plugins\woocommerce\includes\class-wc-emails.php:146
    
    PHP  16. WP_Hook->apply_filters() C:\wamp64\www\wc\wp-includes\plugin.php:203
    
    PHP  17. call_user_func_array:{C:\wamp64\www\wc\wp-includes\class-wp-hook.php:298}() C:\wamp64\www\wc\wp-includes\class-wp-hook.php:298
    
    PHP  18. WCV_Emails->check_items() C:\wamp64\www\wc\wp-includes\class-wp-hook.php:298

    Hello,
    These all seem to center around your email notifications.
    If you go to the email settings and disable all of the vendor notification emails, does this still occur?
    wp admin > woocommerce > settings > emails

    Also, do you have any plugins installed which modify emails in any fashion?

    Thread Starter Oded Talmon

    (@odedta)

    Hmm, that’s weird, email tab shows nothing:
    https://i.imgur.com/fYZOTW2.jpg

    List of plugins:
    https://i.imgur.com/7yWtLPP.jpg

    • This reply was modified 7 years, 8 months ago by James Huff.
    • This reply was modified 7 years, 8 months ago by Oded Talmon.
    • This reply was modified 7 years, 8 months ago by Oded Talmon.

    Hello,
    I do not know if you have resolved this or not..
    Clearly something is awry with the install if the emails tab in WooCommerce settings is not showing anything at all.

    Please visit our forums here for further assistance with WC Vendors, if needed: https://www.wcvendors.com/help/

    Thread Starter Oded Talmon

    (@odedta)

    No, it is still unresolved. Thanks.

    @odedta
    Have you attempted to install again?
    What have you tried since we last spoke?
    If the email tab is not showing up at all, something with the install is not right at all, regardless of WC Vendors.

    Thread Starter Oded Talmon

    (@odedta)

    I will try another localhost installation and see how it goes. Will keep you updated.

    Ok- great!

    Thread Starter Oded Talmon

    (@odedta)

    Hello Anna,

    I have installed a fresh WordPress + WC + WC Marketplace + WC Vendors on my hosting and still got the same error, emails tab is empty.

    Here are the admin login details:
    https://nivtest.odedta.com/wp-admin/
    annawcvendors
    qr3VZ1&Z2$!12zCweJkHHT85

    Thanks

    Hello,

    WC Marketplace

    You are running two different multi-vendor plugins.
    WC Marketplace and WC Vendors cannot both be run at the same time.
    I would, of course, recommend WC Vendors, but you will need to choose between one of these two multi-vendor plugins.

    Thread Starter Oded Talmon

    (@odedta)

    I saw some video online of this guy installing both to get the frontend store manager… Well, thanks Anna.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Demo Installation’ is closed to new replies.