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, 2024בְּ- 11:30 am
ניהול הסכמה לקובצי Cookie
אנו משתמשים בקובצי Cookie כדי לייעל את האתר והשירותים שלנו. הסכמתך מאפשרת לנו לעבד נתונים כגון התנהגות גלישה. אי הסכמה עשויה להשפיע על תכונות מסוימות.
פונקציונלי
תמיד פעיל
נדרש כדי שהאתר שלנו יפעל ויתקשר בצורה נכונה.
העדפות
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
סטטיסטיקה
אנו משתמשים בהם כדי לנתח את הנתונים הסטטיסטיים של האתר שלנו. המידע שנאסף הוא אנונימי לחלוטין. האחסון או הגישה הטכנית שמשמשים באופן בלעדי לצרכים סטטיסטיים אנונימיים. ללא זימון, הסכמה וולונטרית מצד ספק שירותי האינטרנט שלך, או רשומות נוספות מצד שלישי, המידע המאוחסן או המוחזר למטרה זו בלבד לא ניתן בדרך כלל לשימוש לצורך זיהויך.
שיווק
קובצי Cookie אלה עוקבים אחר הגלישה שלך כדי לספק מודעות רלוונטיות עבורך.