Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter nemrio

    (@nemrio)

    Update I was able to fix it for reference :

    add_filter('em_event_submission_login', 'custom_em_event_submission_login_message', 10, 1);

    function custom_em_event_submission_login_message($message) {
    // Check if the user is not logged in
    if (!is_user_logged_in()) {
    // Customize the message to include a login and registration link
    $login_url = esc_url(wp_login_url(get_permalink())); // Redirects back to current page after login
    $register_url = esc_url(wp_registration_url());

    // Build the message with login and registration links
    $message = __('You must log in to view and manage your events.', 'events-manager') . ' ';
    $message .= '<a href="' . $login_url . '">' . __('Log in here', 'events-manager') . '</a>.';

    // Only add a sign-up link if registration is enabled
    if (get_option('users_can_register')) {
    $message .= ' ' . sprintf(__('Don\'t have an account? <a href="%s">Sign up here</a>.', 'events-manager'), $register_url);
    }
    }
    return $message;
    }

    Thread Starter nemrio

    (@nemrio)

    Hi @joneiseman , i did as you told me but I cannot see the links even I did updated the file directly event-editor.php inside the plugin without success I guess we look for a different phrase You must log in to view and manage your events. but I cannot find where it’s

    Thanks !

    Update it’s here

    em-template-tags.php: echo ‘

    ‘. apply_filters(’em_event_submission_login’, __(“You must log in to view and manage your events.”,’events-manager’)) . ”;

    do I apply the same rule for it ?

    • This reply was modified 1 year, 7 months ago by nemrio.
    Thread Starter nemrio

    (@nemrio)

    Thank you @joneiseman !

    Thread Starter nemrio

    (@nemrio)

    I did this but I still cannot see the Dates options in the search

    events_calendar long_events=”1″ long_events=1 full=1 show_search=1 has_search=1 views=calendar,list,grid,list-grouped scope=”future” search_scope=”1″ scope_label=”Dates”

    Thread Starter nemrio

    (@nemrio)

    Thank you @joneiseman , it works ! please is there a page where I can find all those params because I want to add the dates as you have on the same page I cannot found it

    Thread Starter nemrio

    (@nemrio)

    Thank you @joneiseman ,I fixed can you please tell me how I can put the same search bar as this page https://eventsmanager.site/events/ please

    Thread Starter nemrio

    (@nemrio)

    Hi Thanks for your response , can you please tell me how I can fix it ?

    Thanks !

    Hi we still have the same issue

    PHP Warning: Attempt to read property “post_type” on int in httpdocs/wp-content/plugins/awesome-support/includes/functions-templating.php on line 1602

    Php version : 8.1.27

    latest awesome support version :Version 6.1.11 

    with As AS Customizations 

    any help please ?

    Thread Starter nemrio

    (@nemrio)

    Hi Margaret,

    ok thank you let me test and get back to you !

    I also checked the woocommerce logs I don’t see any new logs that have fatal-error except those

    
    

    2022-05-07T20:36:02+00:00 CRITICAL Uncaught Error: Call to undefined function wc_add_notice() in /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php:1282
    Stack trace:
    #0 /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/mstore-api/controllers/flutter-woo.php(1060): WC_Cart->add_to_cart()
    #1 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1141): FlutterWoo->sync_cart_from_mobile()
    #2 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
    #3 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
    #4 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
    #5 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #6 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 /var/www/vhosts/exp dans /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php à la ligne 1282

    2022-05-07T20:36:03+00:00 CRITICAL Uncaught Error: Call to undefined function wc_add_notice() in /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php:1282
    Stack trace:
    #0 /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/mstore-api/controllers/flutter-woo.php(1060): WC_Cart->add_to_cart()
    #1 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1141): FlutterWoo->sync_cart_from_mobile()
    #2 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
    #3 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
    #4 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
    #5 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #6 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 /var/www/vhosts/exp dans /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php à la ligne 1282

    2022-05-07T21:05:30+00:00 CRITICAL Uncaught Error: Call to undefined function wc_add_notice() in /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php:1282
    Stack trace:
    #0 /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/mstore-api/controllers/flutter-woo.php(1060): WC_Cart->add_to_cart()
    #1 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1141): FlutterWoo->sync_cart_from_mobile()
    #2 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
    #3 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
    #4 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
    #5 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #6 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 /var/www/vhosts/exp dans /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php à la ligne 1282

    2022-05-07T22:38:53+00:00 CRITICAL Uncaught Error: Call to undefined function wc_add_notice() in /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php:1282
    Stack trace:
    #0 /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/mstore-api/controllers/flutter-woo.php(1060): WC_Cart->add_to_cart()
    #1 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(1141): FlutterWoo->sync_cart_from_mobile()
    #2 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
    #3 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
    #4 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
    #5 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(307): rest_api_loaded()
    #6 /var/www/vhosts/expressshop.tn/httpdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 /var/www/vhosts/exp dans /var/www/vhosts/expressshop.tn/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-cart.php à la ligne 1282`

    `

    nemrio

    (@nemrio)

    Hi I’m having the same issue and I use Flexible Checkout Fields as plugin to hide email and other filed and we work with the cash on delivery

    how I can make the plugin to work please

    https://expressshop.tn/

    Thanks in advance ?

    Hi we still having this issue any updates please ?

    Thank you

Viewing 11 replies - 1 through 11 (of 11 total)