elementor / elementor/elementor

Uncaught Error: Call to a member function get_component() on null in Elementor API

Open
#29,716 0 comments 0 reactions 0 assignees View on GitHub
status/awaiting_triage
Dominant language
PHP
Stars
7.1k
Forks
1.6k
Avg merge
1d 5h
Merged PRs (30d)
193

Description

### Prerequisites

- [X] I have searched for similar issues in open and closed tickets and cannot find a duplicate.
- [X] I have troubleshooted my issue, and it still exists against the latest stable version of Elementor.

### Description

I am experiencing a recurring issue with Elementor on my WordPress website. The issue involves an uncaught error related to the get_component() function, which prevents certain pages from rendering properly. This error appears in the debug logs and causes frontend issues.

### Steps to reproduce

Open a page built with Elementor.
Inspect the logs or view the frontend (error occurs during widget rendering).
The error occurs intermittently and affects widgets like text-editor, heading, and image.

### Expected behavior

Widgets should render without errors, and pages should load correctly without API-related issues.

### Isolating the problem

- [X] This bug happens when only the Elementor (and Elementor Pro) plugins are active.
- [X] This bug happens with the Hello Elementor theme active.
- [ ] I can reproduce this bug consistently by following the steps I described above.

### Elementor System Info

```txt
Elementor Version: 3.26.0-dev5 (latest available)
WordPress Version: 6.7.1
PHP Version: 8.1.31
Theme: Archieos (child theme of Basetheme)
Active Plugins:
Elementor Beta (Developer Edition) v1.1.3
Elementor Pro v3.25.11
Other plugins listed below.
```

### Agreement

- [X] I agree that my issue may be closed without action if it doesn't meet all the requirements.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.