• Resolved Pranay Patel

    (@pranay7301)


    I am getting following error and site is braking.

    [05-Apr-2024 05:41:05 UTC] EXCEPTION: Typed property DOMElement::$tagName must not be accessed before initialization in /var/www/html/wordpress/wp-content/plugins/elementor/core/utils/svg/svg-sanitizer.php on line 201 [05-Apr-2024 05:41:06 UTC] EXCEPTION: Typed property DOMElement::$tagName must not be accessed before initialization in /var/www/html/wordpress/wp-content/plugins/elementor/core/utils/svg/svg-sanitizer.php on line 201 [05-Apr-2024 05:41:06 UTC] EXCEPTION: Typed property DOMElement::$tagName must not be accessed before initialization in /var/www/html/wordpress/wp-content/plugins/elementor/core/utils/svg/svg-sanitizer.php on line 201 [05-Apr-2024 05:41:07 UTC] EXCEPTION: Typed property DOMElement::$tagName must not be accessed before initialization in /var/www/html/wordpress/wp-content/plugins/elementor/core/utils/svg/

    • This topic was modified 7 months, 3 weeks ago by Pranay Patel.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support vipul78

    (@vipulelementor)

    Hi

    Are you using any specific SVG icon on your page or are you using any custom PHP code on your site?

    Can you please share more details and screenshots of the issue that you are facing?

    Thread Starter Pranay Patel

    (@pranay7301)

    Please go to the site
    Page is braking : https://3.6.61.80/

    Plugin Support Milos

    (@miloss84)

    Hi there,

    The error message you provided indicates that there is an issue with accessing a typed property tagName of a DOMElement object before it has been initialized. This error is originating from the svg-sanitizer.php file.

    Here’s what you can do to troubleshoot and potentially resolve this issue:

    1. Update Elementor: Ensure that your Elementor plugin is updated to the latest version. Developers often release updates to fix bugs and address compatibility issues.
    2. Check PHP Version Compatibility: Verify that your PHP version is compatible with the version of Elementor you are using. Elementor might require a specific minimum PHP version to function properly.
    3. Check for Conflicts: Disable all other plugins and switch to a default WordPress theme (such as Twenty Twenty-One). Then, check if the error still occurs. If the error disappears, gradually re-enable your plugins and switch back to your theme one at a time until you identify the conflicting plugin or theme causing the issue.
    4. Review Recent Changes: If the issue started occurring after making changes to your website, such as updating plugins or themes, installing new plugins, or modifying code, try reverting those changes to see if the problem resolves.

    Please remember to always back up your website before making any changes, especially if you’re modifying plugin files or troubleshooting code issues.

    Plugin Support Elementor Team

    (@ricav)

    Due to inactivity this ticket has been closed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘DOM Element Error’ is closed to new replies.