jarnovwa
Forum Replies Created
-
Update for people finding this thread:
Learnpress v3.2.8 ~ Fix error not same param on hook of Yoast SEO vs Yoast SEO premium
Hi @afadli
Today we encountered seemingly the same problem on one of our websites:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function LP_Page_Controller::lp_desc_item_yoast_seo(),
1 passed in /xxx/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /xxx/wp-content/plugins/learnpress/inc/class-lp-page-controller.php:132
Stack trace: #0 /xxx/wp-includes/class-wp-hook.php(287): LP_Page_Controller->lp_desc_item_yoast_seo()
#1 /xxx/wp-includes/plugin.php(206): WP_Hook->apply_filters()
#2 /xxx/wp-content/plugins/wordpress-seo-premium/frontend/class-frontend.php(1325): apply_filters()
#3 /xxx/wp-content/plugins/wordpress-seo-premium/frontend/class-frontend.php(1189): WPSEO_Frontend->generate_metadesc()
#4 /xxx/wp-includes/class-wp-hook.php(287): WPSEO_Frontend->metadesc()
#5 /xxx/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#6 /xxx/wp-includes/pl in /xxx/wp-content/plugins/learnpress/inc/class-lp-page-controller.php on line 132Can you share your sollution for this problem?