⛔ 📚 🐞 Bug Report: Custom Widget does not work if methods are separated on different files #23248
Closed
5 tasks done
Labels
compatibility/3rd-party
Indicates a compatibility problem with a 3rd-party plugin or theme.
component/code
Indicates when a topic is related to a component’s code.
mod*
type/developer-api
Indicates when a topic is related to the Developer API and Documentation.
Prerequisites
Description
Hello
Please watch this video:
Rec.0030.mp4
When you drag and drop the widget and preview the page, the error pops up. If you refresh, it goes away. It only happens once. The strange thing is, in the source code of the addon, if you directly place the source code of
options.php
, inside theregister_controls
function, the error doesn't pop up!This issue only happens on version 3.15.0 and it works with no issues on version 3.14.1
Source code of the addon https://github.com/babakfp/elementor-addon-bug
Steps to reproduce
Above.
Isolating the problem
System Info
Click to reveal
The text was updated successfully, but these errors were encountered: