Im using elementor in wordpress and Im facing these errors:
Warning: Undefined array key "margin_widescreen" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "margin_laptop" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "margin_tablet" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "margin_mobile" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "padding_widescreen" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "padding_laptop" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "padding_tablet" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776
Warning: Undefined array key "padding_mobile" in C:xampphtdocsinnstylesalonwp-contentpluginselementorcorefilescssbase.php on line 776`
the error will be gone after the first reload, meaning that I wont be able to see it once I refresh the page or enter the page for the second time
Im using PHP Version 8.2.4
with wordpress version 6.3
I tried increasing the memory size for WordPress in the custom codes section of wp_config.php
define('WP_MEMORY_LIMIT', '512M');
still did not work
I tried deactivating all my plugins and activating them one by one and when I leave elementorKit lite
deactivated, the error wouldn’t appear.
but I need that plugin, and I was not facing this earlier; so there must be another way.
2
Answers
Try disabling one page scroll in elementkits settings, fixed the job for me.
If you are using
onepage scroll
and don’t want to disable then you can fix that error by replacingget_page_setting
method atwp-content/plugins/elementskit-lite/modules/onepage-scroll/init.php
with below method.Otherwise you can disable
onepage scroll
We hope the ElementsKit team will release a fix soon.