Expresso
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Missing argument 1 for Expresso_ft
Support (Resolved)
bobh
|
Posted: 05 October 2016 07:19 AM |
|
|
|
Hello,
I’m getting these errors when creating a Low Variable of type Expresso:
Warning
Missing argument 1 for Expresso_ft::save_settings(), called in user/addons/expresso/ft.expresso.php on line 833 and defined
user/addons/expresso/ft.expresso.php, line 757 show details
Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)
ee/legacy/core/Input.php, line 249 hide details
Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)
ee/legacy/libraries/Functions.php, line 438 hide details
Severity: E_WARNING
Using Expresso 4.1.1 and Low Variables 3.0.4. Any chance of a quick fix here?
|
|
|
PutYourLightsOn
|
Posted: 09 October 2016 05:03 PM |
# 1
|
|
Developer
|
Hi there. Please try updating the save_var_settingsmethod in ft.expresso.php. We’ll release an official update for this fix soon.
public function save_var_settings($data) { return $this->save_settings($data); }
|
|
|
bobh
|
Posted: 09 October 2016 05:15 PM |
# 2
|
|
|
Thanks. That works.
Converting an existing textarea variable into an expresso field does not work however. No errors are shown and the variable still looks like a textarea but the type is set to expresso.
|
|
|
PutYourLightsOn
|
Posted: 10 October 2016 03:36 AM |
# 3
|
|
Developer
|
Please try updating the accepts_content_type method in ft.expresso.php as follows:
public function accepts_content_type($name) { return ($name == 'channel' || $name == 'grid' || $name == 'low_variables'); }
|
|
|
bobh
|
Posted: 10 October 2016 04:09 AM |
# 4
|
|
|
Converting a freshly created textarea field now works but it has no effect on my original textarea field.
|
|
|
bobh
|
Posted: 10 October 2016 04:14 AM |
# 5
|
|
|
I noticed a js error due to a dash (-) in my field name:
admin.php?/cp/addons/settings/low_variables/group/2:368 Uncaught SyntaxError: Unexpected token -
After replacing it with an underscore everything is working as expected. Thanks for your help.
|
|
|
PutYourLightsOn
|
Posted: 10 October 2016 11:18 AM |
# 6
|
|
Developer
|
Great, glad to hear it!!
|
|
|