Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter aminnima2

    (@aminnima2)

    slove with below code admin-bar.php on line 93

    $wp_admin_bar->add_menu( array(
    ‘parent’ => ‘edd-store-menu’,
    ‘id’ => ‘edd-store-products’,
    /* translators: %s: Downloads plural label */
    ‘title’ => sprintf( __( ‘All %s’, ‘easy-digital-downloads’ ), edd_get_label_plural() ),
    ‘href’ => edd_get_admin_url(),
    ) );

    Thread Starter aminnima2

    (@aminnima2)

    Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/glcd/public_html/wp-content/plugins/easy-digital-downloads/includes/admin/admin-bar.php:93 Stack trace: #0 /home/glcd/public_html/wp-content/plugins/easy-digital-downloads/includes/admin/admin-bar.php(93): sprintf() #1 /home/glcd/public_html/wp-includes/class-wp-hook.php(324): edd_maybe_add_store_mode_admin_bar_menu() #2 /home/glcd/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /home/glcd/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() #4 /home/glcd/public_html/wp-includes/admin-bar.php(97): do_action_ref_array() #5 /home/glcd/public_html/wp-includes/class-wp-hook.php(324): wp_admin_bar_render() #6 /home/glcd/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /home/glcd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/glcd/public_html/wp-includes/general-template.php(3224): do_action() #9 /home/glcd/public_html/wp-includes/class-wp-hook.php(324): wp_body_open() #10 /home/glcd/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #11 /home/glcd/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #12 /home/glcd/public_html/wp-content/themes/porto/header/header_before.php(66): do_action() #13 /home/glcd/public_html/wp-includes/template.php(812): require(‘/home/glcdir/pu…’) #14 /home/glcd/public_html/wp-includes/template.php(745): load_template() #15 /home/glcd/public_html/wp-includes/general-template.php(206): locate_template() #16 /home/glcd/public_html/wp-content/themes/porto/header.php(22): get_template_part() #17 /home/glcd/public_html/wp-includes/template.php(810): require_once(‘/home/glcdir/pu…’) #18 /home/glcd/public_html/wp-includes/template.php(745): load_template() #19 /home/glcd/public_html/wp-includes/general-template.php(48): locate_template() #20 /home/glcd/public_html/wp-content/themes/porto/page.php(1): get_header() #21 /home/glcd/public_html/wp-includes/template-loader.php(106): include(‘/home/glcdir/pu…’) #22 /home/glcd/public_html/wp-blog-header.php(19): require_once(‘/home/glcdir/pu…’) #23 /home/glcd/public_html/index.php(17): require(‘/home/glcdir/pu…’) #24 {main} thrown in /home/glcd/public_html/wp-content/plugins/easy-digital-downloads/includes/admin/admin-bar.php on line 93

    یک خطای مهم در این وب سایت رخ داده است.

    Thread Starter aminnima2

    (@aminnima2)

    hello

    [24-Oct-2025 20:44:20 UTC] PHP Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/……/public_html/wp-content/plugins/easy-digital-downloads/includes/admin/admin-bar.php:93 Stack trace:

    “This error was displayed in the debug section. I hope the issue can be resolved. Thank you for your response.”

    Thread Starter aminnima2

    (@aminnima2)

    یک خطای مهم در این وب سایت وجود دارد. لطفاً برای دستورالعمل‌ها، ایمیل مدیر سایت را بررسی نمایید. اگر همچنان مشکل دارید، لطفاً انجمن پشتیبانی را امتحان کنید.

    دربارهٔ عیب‌یابی در وردپرس بیشتر بدانید.

    متن بالا متن خطایی ایست که با فعال شدن افزونه با php8 به بالا نمایش داده میشود

    من از php 8.1 تا 8.4 رو تست کردم و با همه خطا داشت فقط با php7.4 سایت بدون مشکل کار میکند

    There is a critical error on this website. Please check the site administrator’s email for instructions. If you continue to experience problems, please try the support forums.
    Learn more about troubleshooting in WordPress.
    The above text is the error message that appears when the plugin is activated with PHP 8 or higher.
    I tested it with PHP 8.1 up to 8.4, and the error occurred in all versions. Only with PHP 7.4 the site works without any issues.

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