跳过导航

標籤: 

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 hasanK-7 4 months, 3 weeks前 更新。

协助者:: Bigul.

作者 文章
26 6 月, 2024 于 11:21 上午

hasanK-7

Background of the issue:
I followed instructions in this link: https://wpml.org/errata/affiliatewp-areas-content-fails-to-display-on-translated-pages/ and everything works fine. But when I updated AffiliateWP Plugin to the latest version I started getting this error: in 隐藏链接 After login, Fatal error: Uncaught TypeError: Return value of affwp_get_affiliate_area_page_id() must be of the type int, null returned in /home/u231396823/domains/pfxtrader.com/public_html/wp-content/plugins/affiliate-wp/includes/affiliate-functions.php:1855 Stack trace: #0 /home/u231396823/domains/pfxtrader.com/public_html/wp-content/plugins/affiliate-wp/includes/admin/settings/class-settings.php(1729): affwp_get_affiliate_area_page_id() #1 /home/u231396823/domains/pfxtrader.com/public_html/wp-content/plugins/affiliate-wp/includes/admin/settings/class-settings.php(1491): Affiliate_WP_Settings->get_settings(Array) #2 /home/u231396823/domains/pfxtrader.com/public_html/wp-content/plugins/affiliate-wp/includes/admin/settings/class-settings.php(1002): Affiliate_WP_Settings->get_registered_settings() #3 /home/u231396823/domains/pfxtrader.com/public_html/wp-includes/class-wp-hook.php(324): Affiliate_WP_Settings->register_settings('') #4 /home/u231396823/domains/pfxtrader.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_fi in /home/u231396823/domains/pfxtrader.com/public_html/wp-content/plugins/affiliate-wp/includes/affiliate-functions.php on line 1855

Symptoms:
After updating AffiliateWP Plugin to the latest version, I started getting a fatal error in the admin area after login.

Questions:
How can I resolve the fatal error after updating AffiliateWP Plugin?
Is there a compatibility issue between WPML and the latest version of AffiliateWP Plugin?

26 6 月, 2024 于 11:30 上午