Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gomathipriya1993

    (@gomathipriya1993)

    Anybody help my issues please its urgent why my theme menu page affected when i activate this plugin

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @gomathipriya1993

    There are issues in the MegaMenu PHP library, which is used by your theme. Could you contact me there and I’ll fix the issue in your theme

    https://ultimatemember.com/contact/sales/

    Thanks!

    Thread Starter gomathipriya1993

    (@gomathipriya1993)

    Hi just now i deactivate mega menu plugin still i got that issues

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @gomathipriya1993

    Do you have the PHP error log? Could you share it?

    Thanks!

    Thread Starter gomathipriya1993

    (@gomathipriya1993)

    yeah sure we are using Ubuntu server i cant access now will send you the file, and tell me how do i hide woocommerce product price to unregister users

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @gomathipriya1993

    Please let me know as soon as possible. Or share theme’s code with me here https://ultimatemember.com/contact/sales/

    I think this article can help you
    https://jeroensormani.com/hiding-product-prices-woocommerce/

    Maybe this snippet will be right:

    add_filter( 'woocommerce_get_price_html', function( $price ) {
    	if ( is_user_logged_in() ) {
               return $price;
            }
    
    	return '';
    } );

    Best Regards

    Thread Starter gomathipriya1993

    (@gomathipriya1993)

    I got this error log in this plugin

    2020-06-06T07:43:35+00:00 CRITICAL Uncaught ArgumentCountError: Too few arguments to function um\admin\core\Admin_Navmenu::wp_nav_menu_item_custom_fields(), 4 passed in /var/www/html/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /var/www/html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php:58
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(287): um\admin\core\Admin_Navmenu->wp_nav_menu_item_custom_fields()
    #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /var/www/html/wp-content/themes/porto/inc/menu/menu.php(552): do_action()
    #4 /var/www/html/wp-includes/class-wp-walker.php(144): Porto_Walker_Nav_Menu_Edit->start_el()
    #5 /var/www/html/wp-includes/class-wp-walker.php(244): Walker->display_element()
    #6 /var/www/html/wp-includes/nav-menu-template.php(584): Walker->walk()
    #7 /var/www/html/wp-admin/includes/nav-menu.php(1077): walk_nav_menu_tree()
    #8 /var/www/html/wp-admin/nav-menus.php in /var/www/html/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-navmenu.php on line 58

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘plugin stop the work’ is closed to new replies.