Plugin

Developer
Supported

Switchee

ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From Mark Croxton

     

You must be logged in to post.

EE4 assign_variables() deprecation notice

General

borareed
borareed

Hello,

I recently updated my site to EE4 and started getting a deprecation notice in the developer log:

Deprecated function assign_variables() called in system/user/addons/switchee/pi.switchee.php on line 123.
From template tag exp:switchee:__construct in wrappers/_page.
Deprecated since 4.0. Use ee(‘Variables/Parser’)->extractVariables() instead.

Is there a way to get this fixed in the next release? I am using EE 4.3.2 and switchee 3.0.0

Mark Croxton
# 1
Developer
Mark Croxton

Sure I’ve made a note.