Expresso
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
php notices: Low variable, Grid + Expresso
Support (Resolved)
bobh
|
Posted: 14 December 2016 09:51 AM |
|
|
|
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.php, line 469 show details Severity: E_NOTICE Notice Undefined index: channel_allow_img_urls user/addons/expresso/ft.expresso.php, line 470 show details Severity: E_NOTICE Notice Undefined index: channel_auto_link_urls user/addons/expresso/ft.expresso.php, line 469 hide details Severity: E_NOTICE Notice Undefined index: channel_allow_img_urls user/addons/expresso/ft.expresso.php, line 470 show details Notice Undefined index: channel_auto_link_urls user/addons/expresso/ft.expresso.php, line 469 show details Severity: E_NOTICE Notice Undefined index: channel_allow_img_urls user/addons/expresso/ft.expresso.php, line 470 show details Severity: E_NOTICE Notice Undefined index: channel_auto_link_urls user/addons/expresso/ft.expresso.php, line 469 show details Severity: E_NOTICE Notice Undefined index: channel_allow_img_urls user/addons/expresso/ft.expresso.php, line 470 show details Severity: E_NOTICE Notice Undefined index: channel_auto_link_urls user/addons/expresso/ft.expresso.php, line 469 show details Severity: E_NOTICE Notice Undefined index: channel_allow_img_urls user/addons/expresso/ft.expresso.php, line 470 show details Notice Undefined index: channel_auto_link_urls user/addons/expresso/ft.expresso.php, line 469 show details Notice Undefined index: channel_allow_img_urls user/addons/expresso/ft.expresso.php, line 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.php, line 533 hide details Severity: E_WARNING
|
|
|
bobh
|
Posted: 26 December 2016 07:40 AM |
# 1
|
|
|
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
|
Posted: 26 December 2016 12:41 PM |
# 2
|
|
Developer
|
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
|
Posted: 05 June 2017 02:57 AM |
# 3
|
|
Developer
|
Note that this was fixed in Expresso 4.2.4.
|
|
|