{type: “deprecated”, message: “Methods with the same name as their class will not…vent_Espresso_Widget has a deprecated constructor”, file: “wp-content/uploads/espresso/templates/widget.php”, line: 4, stack: Array(2), …}
component: “Plugin: event-espresso”
file: “wp-content/uploads/espresso/templates/widget.php”
line: 4
message: “Methods with the same name as their class will not be constructors in a future version of PHP; Event_Espresso_Widget has a deprecated constructor”
stack: (2) [“event_espresso_require_file()”, “event_espresso_require_template()”]
type: “deprecated”
__proto__: Object
This was actually fixed/updated in the core Event Espresso plugin about 4 years ago. It appears your site has a customized widget.php file located in /wp-content/uploads/espresso/templates that has the older, unpatched widget code.
What you can do is either removed the copy of widget.php from /wp-content/uploads/espresso/templates, or update it to include the changes outlined here:
The support post ‘Deprecated Constructor in Event Espresso Widget’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.