Background of the issue:
I am trying to install languages on my site קישור נסתר using WPML. However, I am encountering issues with the language menu constantly switching to Romanian. Additionally, I am seeing multiple error messages related to the Zend OPcache API restriction and header modification issues.
Symptoms:
Warning: Zend OPcache API is restricted by "restrict_api" configuration directive in /data/web/virtuals/370328/virtual/www/domains/hotelcaalvise.eu/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringGettext/Command/CreatePhpFileCommand.php on line 26. Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/370328/virtual/www/domains/hotelcaalvise.eu/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringGettext/Command/CreatePhpFileCommand.php:26) in /data/web/virtuals/370328/virtual/www/domains/hotelcaalvise.eu/wp-includes/functions.php on line 7168.
Questions:
How can I resolve the Zend OPcache API restriction error?
Why is the language menu switching to Romanian automatically?
How can I fix the header modification error?
מאי 6, 2025 ב־1:11 pm
ניהול הסכמה לקובצי 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 אלה עוקבים אחר הגלישה שלך כדי לספק מודעות רלוונטיות עבורך.