Fieldtype

Developer
Supported

Expresso

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

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

     

You must be logged in to post.

php notices: Low variable, Grid + Expresso

Support (Resolved)

bobh
bobh

I’ve got a Low Variable (3.0.4) of Grid type (EE 3.4.5) with an Expresso (4.2.3) field. There’s no problem with the output but I’m seeing lots of php notices:

Notice
Undefined index
channel_auto_link_urls
user
/addons/expresso/ft.expresso.phpline 469 show details
Severity
E_NOTICE
Notice
Undefined index
channel_allow_img_urls
user
/addons/expresso/ft.expresso.phpline 470 show details
Severity
E_NOTICE
Notice
Undefined index
channel_auto_link_urls
user
/addons/expresso/ft.expresso.phpline 469 hide details
Severity
E_NOTICE
Notice
Undefined index
channel_allow_img_urls
user
/addons/expresso/ft.expresso.phpline 470 show details
Notice
Undefined index
channel_auto_link_urls
user
/addons/expresso/ft.expresso.phpline 469 show details
Severity
E_NOTICE
Notice
Undefined index
channel_allow_img_urls
user
/addons/expresso/ft.expresso.phpline 470 show details
Severity
E_NOTICE
Notice
Undefined index
channel_auto_link_urls
user
/addons/expresso/ft.expresso.phpline 469 show details
Severity
E_NOTICE
Notice
Undefined index
channel_allow_img_urls
user
/addons/expresso/ft.expresso.phpline 470 show details
Severity
E_NOTICE
Notice
Undefined index
channel_auto_link_urls
user
/addons/expresso/ft.expresso.phpline 469 show details
Severity
E_NOTICE
Notice
Undefined index
channel_allow_img_urls
user
/addons/expresso/ft.expresso.phpline 470 show details
Notice
Undefined index
channel_auto_link_urls
user
/addons/expresso/ft.expresso.phpline 469 show details
Notice
Undefined index
channel_allow_img_urls
user
/addons/expresso/ft.expresso.phpline 470 show details
Severity
E_NOTICE
Warning
Cannot modify header information 
headers already sent by (output started at ee/legacy/core/Exceptions.php:115)
ee/EllisLab/ExpressionEngine/Boot/boot.common.phpline 533 hide details
Severity
E_WARNING 
bobh
# 1
bobh

fix by changing:

'auto_links'    => $this->row['channel_auto_link_urls'],
'allow_img_url' => $this->row['channel_allow_img_urls'

to:

'auto_links'    => @$this->row['channel_auto_link_urls'],
'allow_img_url' => @$this->row['channel_allow_img_urls'
PutYourLightsOn
# 2
Developer
PutYourLightsOn

Apologies, I didn’t receive the email notification for this thread. Yes, this should be fixed - it will be patched properly in a forthcoming release, but your fix will do in a pinch for now.

PutYourLightsOn
# 3
Developer
PutYourLightsOn

Note that this was fixed in Expresso 4.2.4.