דלג על הניווט

Waiting for author

Overview of the issue

When using the Sidebar widget (stm_sidebar) from the Consulting theme with WPML and Elementor, you may encounter PHP warnings such as:

1
2
Warning: Undefined array key "elements" in /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php on line 120
Warning: foreach() argument must be of type array|object, null given in /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php on line 112

Workaround

We're already in contact with the theme author to fix this issue.

In the meantime, if you see these warnings on your frontend, you can suppress them by editing your wp-config.php file:
Please, make sure of having a full site backup of your site before proceeding.

  • Open the wp-config.php file in the root of your WordPress installation.
  • Look for:
    1
    define('WP_DEBUG', true);
  • Replace it with:
    1
    2
    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', false);

We'll keep this page updated as soon as there’s progress on the fix.

השאר תגובה

אנא הישאר בנושא והיה מכבד כלפי אחרים. אם אתה זקוק לעזרה בנושאים שאינם קשורים לפוסט זה, השתמש בפורום התמיכה שלנו כדי להתחיל צ'אט או לפתוח כרטיס.

אתה יכול להשתמש בתגיות אלה:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>