• Resolved katanga1987

    (@katanga1987)


    Hi guys,

    The latest version of Dokan Lite causes error 500 when loading WooCommerce products. Seems to be a conflict with the latest version of WCFM.

    Get an Ajax error and no products load for all users except admin users.

    Error on front-end is:
    DataTables warning: table id=wcfm-listings – Ajax error. For more information about this error, please see http://datatables.net/tn/7

    Error when checking error logs is:
    PHP Fatal error: Call to undefined function remove_meta_box() in my-site-url/wp-content/plugins/dokan-lite/includes/functions.php on line 1332

    Just commented out this function and error is resolved.

    if ( is_admin() && $query->query_vars[‘post_type’] == ‘page’ ) {
    remove_meta_box( ‘sellerdiv’, ‘product’, ‘normal’ );
    }
    Please advise a potentially better solution.

    Thanks!

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

Viewing 1 replies (of 1 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi @katanga1987,

    I have just checked that but can’t see any such issues.
    Our Dokan demo has latest version of Dokan Lite and WCFM with Listings. You may take a look at there – http://dokan.wcfmdemos.com/my-account

    @roshni07,

    Can you please be kind and share your site details on the link mentioned below and create a support ticket:

    You can’t ask for a client site access at any condition, at least on wordpress.org forum.

    Thank You

Viewing 1 replies (of 1 total)
  • The topic ‘Dokan Functions.php line 1332 causing error 500’ is closed to new replies.