• Resolved anelymmilena

    (@anelymmilena)


    Hello,

    I can no longer access the Elementor page editor. When I try to edit a page with it, it loads and then does nothing. Even when I click on the window that offers to launch safe mode, it does not launch.

    I tried to deactivate all the extensions and even the theme, it does not solve the problem.

    I also tried to revert to an earlier version of Elementor, without success.

    If I look in the debug console, I see this message: “@elementor/editor-site-navigation – Settings object not found” and when loading some pages, I have error messages in the header of my site that say: “Warning: Undefined array key “color” in /home/clients/c08bb4e4dec1c2056ea955ba09c2c4e7/sites/apog-conseil.fr/wp-content/plugins/elementor/core/editor/data/globals/endpoints/colors.php on line 37 […]”

    I found a forum with other people who have this problem. They recommend making this modification:
    “Just Find File /wp-content/plugins/elementor/core/editor/data/globals/endpoints/colors.php, and Edit this file :

    At Line 37 is
    ‘Value’ => $ item [‘color’],
    You can comment it so it will be // ‘value’ => $ item [‘color’],
    Next Add New Line with
    ‘Value’ =>! Empty ($ item [‘color’])? $ item [‘color’]: ‘#000000’ “

    I can do it, but I would like to make sure that it is the right manipulation and that there is not an Elementor update that would remove this repair.

    Thanks for your help.

    • This topic was modified 3 weeks, 1 day ago by anelymmilena.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • i have the same problem. Site is totally broken and i can not fix it!

    Also, the Elementor-feature to roll back to a previous version is not working!

    Thread Starter anelymmilena

    (@anelymmilena)

    For information, I tried the solution:

    “Just Find File /wp-content/plugins/elementor/core/editor/data/globals/endpoints/colors.php, and Edit this file:
    At Line 37 is ‘Value’ = > $ item [‘color’], You can comment it so it will be // ‘value’ => $ item [‘color’],
    Next Add New Line with ‘Value’ =>! Empty($item[‘color’])? $ item [‘color’]: ‘#000000’ “

    This didn’t work for me, I got a fatal error.

    Plugin Support Richard from Elementor

    (@richardk23)

    Hello,

    Thank you for reaching out. I’m Richard from the Elementor Team, and I hope you are doing well. I’m sorry to hear about the issues you’re experiencing.

    It might be a conflict with your theme or plugins, Please follow these steps and let me know if it solved your issue: – Deactivate all of your plugins except Elementor. If this solves the problem, gradually activate your plugins one by one until you spot the problematic plugin. – Temporarily switch your WordPress theme to Hello Elementor (or another default WordPress theme) and see if it solves your error. You could also try reinstalling Elementor.

    (Please ensure you have a backup in place for all these steps.)

    I hope this information helps you.

    Kind regards,

    Thread Starter anelymmilena

    (@anelymmilena)

    Hello, I have already done these tests, the problem persists.

    gooleem

    (@gooleem)

    in my case, it had to do with the theme but only occured since Elementor >2.25.0

    The theme-maker have a discussion here https://codexthemes.ticksy.com/ticket/3753935

    Thread Starter anelymmilena

    (@anelymmilena)

    Thank you @gooleem for the information.

    @richardk23 Can you confirm that my problem is indeed similar and that the developers are developing a corrective patch?

    It’s urgent, I’m a web developer, my clients’ sites have the same problem.

    Thread Starter anelymmilena

    (@anelymmilena)

    So, we found the origin of the problem and a solution to fix it without Elementor response.
    In our website, the colors of the Elementor site theme had been reset :


    Since the last update, Elementor blocked the launch of the editor because these color codes were missing.
    But, as this blocked the launch of the editor, it was impossible to define them manually in the site editor.
    So we went directly through the site database to define them.

    In the postmeta table, the meta key: _elementor_page_settings, here is what was there before:

    a:12:{s:13:"system_colors";a:4:{i:0;a:2:{s:3:"_id";s:7:"primary";s:5:"title";s:9:"Principal";}i:1;a:2:{s:3:"_id";s:9:"secondary";s:5:"title";s:10:"Secondaire";}i:2;a :2:{s:3:"_id";s:4:"text";s:5:"title";s:5:"Text";}i:3;a:2:{s:3:"_id";s:6:"accent";s:5:"title";s:9:"Accentué";}}s:13:"custom_col ors";a:0:{}s:17:"system_typography";a:4:{i:0;a:4:{s:3:"_id";s:7:"primary";s:5:"title";s:9:"Principal";s:22:"typography_font_family";s:6:"Roboto";s:22:"typography_font_weight";s:3:"60 0";}i:1;a:4:{s:3:"_id";s:9:"secondary";s:5:"title";s:10:"Secondaire";s:22:"typography_font_family";s:11:"Roboto Slab";s:22:"typography_font_weight";s:3:"400";}i:2;a:4:{s:3:"_id";s:4:"text";s:5:"title";s:5:"Text";s:22:"typography_font_family";s:6:"Roboto";s:22:"typography_font_weight";s:3:"4 00";}i:3;a:4:{s:3:"_id";s:6:"accent";s :5:"title";s:9:"Emphasized";s:22:"typography_font_family";s:6:"Roboto";s:22:"typography_font_weight";s:3:"500";}}s:17:"custom_typography";a:0:{}s:21:"default_generic_fonts";s:10:"Sans-serif";s :9:"site_name";s:18:"Laetitia Rodriguez";s:16:"site_description";s:0:"";s:19:"page_title_selector";s:14:"h1.entry-title";s:15:"activeItemIndex";i:1;s:11:"viewport_md";i:768;s:11:"viewport_lg";i:1025;s:15:"container_width" ;a:3:{s:4:"unit";s:2:"px";s:4:"size";i:1200;s:5:"sizes";a:0:{}}} 


    and here it is with the integration of the hexa color codes:

    a:12:{s:13:"system_colors";a:4:{i:0;a:2:{s:3:"_id";s:7:"primary";s:5:"title";s:9:"Principal";s:5:"color";s:7:"#C81B1B";}i:1;a:2:{s:3:"_id";s:9:"secondary";s:5: "title";s:10 :"Secondary";s:5:"color";s:7:"#A91616";}i:2;a:2:{s:3:"_id";s:4:"text";s:5:"title";s:5:"Text";s:5:"color";s:7:"#AC2424";}i:3;a:2:{s:3:"_id";s:6:"accent"; s:5:"title";s:9:"Ac centué";s:5:"color";s:7:"#B32A2A";}}s:13:"custom_colors";a:0:{}s:17:"system_typography";a:4:{i:0;a:4:{s:3:"_id";s:7:"primary";s:5:"title";s:9:"Principal";s:22:"typography_font_family ";s:6:"Roboto";s:22:"typography_font_weight";s:3:"600";}i:1;a:4:{s:3:"_id";s:9:"secondary";s:5:"title";s:10:"Secondaire";s:22:"typography_font_family";s:11:"Roboto Slab";s:22:"typography_font_weight";s:3:"400";}i:2;a:4:{s:3:"_id";s:4:"text";s:5:"title";s:5:"Text";s:22:"typography_font_family";s:6:"Roboto";s:22:"typography_font_weight";s:3:"4 00";}i:3;a:4:{s:3:"_id";s:6:"accent";s :5:"title";s:9:"Emphasized";s:22:"typography_font_family";s:6:"Roboto";s:22:"typography_font_weight";s:3:"500";}}s:17:"custom_typography";a:0:{}s:21:"default_generic_fonts";s:10:"Sans-serif";s :9:"site_name";s:18:"Laetitia Rodriguez";s:16:"site_description";s:0:"";s:19:"page_title_selector";s:14:"h1.entry-title";s:15:"activeItemIndex";i:1;s:11:"viewport_md";i:768;s:11:"viewport_lg";i:1025;s:15:"container_width" ;a:3:{s:4:"unit";s:2:"px";s:4:"size";i:1200;s:5:"sizes";a:0:{}}}


    A long term and more robust fix would be to add default values on the PHP side if case they’re missing in the DB.
    Or maybe to forbid users to completely erase them in the first place?

    Thanks for your work on Elementor,
    Regards

    Plugin Support Nemanja

    (@nemanjat)

    Hi @anelymmilena

    Thank you for your message and detailed explanation of what you have found out. We have received another report about this issue and from the steps to reproduce it seems that this usually happens when a user creates a new Global color without any color value (clicks add new but doesn’t choose color and then saves and exits the Site Settings).

    Maybe this scenario isn’t same as your, but the generated error is. Our developers are aware of this issue, and a fix is being worked on to address the problem. While I do not have an ETA on when this is going to be fixed, you can stay up to date with the latest fixes and tweaks in the Elementor changelog on the following link: https://elementor.com/help/changelog-of-elementor/

    Kind regards!

    Thread Starter anelymmilena

    (@anelymmilena)

    Hello,

    Thanks for your information, I will follow the updates.

    Kind regards

    Plugin Support Elementor Team

    (@ricav)

    Hi @anelymmilena,

    Thank you for your kind words. On behalf of Nemanja, it was our pleasure to assist you.

    If you have any further questions or need help in the future, don’t hesitate to reach out. Wishing you a wonderful day ahead!

    Kind regards,

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.