Error in textarea-field and "Clean values":"Unsafe Html"

More
1 year 11 months ago #83245 by kath
sure, here you go:

0 Joomla\Filter\InputFilter::__construct(): Argument #1 ($tagsArray) must be of type array, null given, called in [...]\libraries\src\Filter\InputFilter.php on line 69

Call stack
#     Function     Location
1     ()     JROOT\libraries\vendor\joomla\filter\src\InputFilter.php:166
2     Joomla\Filter\InputFilter->__construct()     JROOT\libraries\src\Filter\InputFilter.php:69
3     Joomla\CMS\Filter\InputFilter->__construct()     JROOT\libraries\src\Filter\InputFilter.php:94
4     Joomla\CMS\Filter\InputFilter::getInstance()     JROOT\plugins\flexicontent_fields\textarea\textarea.php:686
5     plgFlexicontent_fieldsTextarea->onDisplayFieldValue()     JROOT\components\com_flexicontent\classes\helpers\flexiutilities.php:428
6     FLEXIUtilities::call_FC_Field_Func()     JROOT\components\com_flexicontent\classes\flexicontent.fields.php:932
7     FlexicontentFields::renderField()     JROOT\components\com_flexicontent\classes\flexicontent.fields.php:690
8     FlexicontentFields::getFieldDisplay()     JROOT\components\com_flexicontent\templates\baCommon\helpers\baItemHelper.class.php:19
9     BaItemHelper::getFields()     JROOT\components\com_flexicontent\templates\ba\controllers\moc.php:62
10     BaMoc->__construct()     JROOT\components\com_flexicontent\templates\ba\item_moc.php:30
11     include()     JROOT\components\com_flexicontent\templates\ba\item.php:40
12     include()     JROOT\libraries\src\MVC\View\HtmlView.php:410
13     Joomla\CMS\MVC\View\HtmlView->loadTemplate()     JROOT\libraries\src\MVC\View\HtmlView.php:203
14     Joomla\CMS\MVC\View\HtmlView->display()     JROOT\administrator\components\com_flexicontent\views\item\view.html.php:2424
15     FlexicontentViewItem->_displayItem()     JROOT\administrator\components\com_flexicontent\views\item\view.html.php:57
16     FlexicontentViewItem->display()     JROOT\libraries\src\MVC\Controller\BaseController.php:639
17     Joomla\CMS\MVC\Controller\BaseController->display()     JROOT\components\com_flexicontent\controller.php:263
18     FlexicontentController->display()     JROOT\libraries\src\MVC\Controller\BaseController.php:672
19     Joomla\CMS\MVC\Controller\BaseController->execute()     JROOT\components\com_flexicontent\flexicontent.php:270
20     require_once()     JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:71
21     Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()     JROOT\libraries\src\Dispatcher\LegacyComponentDispatcher.php:73
22     Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()     JROOT\libraries\src\Component\ComponentHelper.php:355
23     Joomla\CMS\Component\ComponentHelper::renderComponent()     JROOT\libraries\src\Application\SiteApplication.php:200
24     Joomla\CMS\Application\SiteApplication->dispatch()     JROOT\libraries\src\Application\SiteApplication.php:241
25     Joomla\CMS\Application\SiteApplication->doExecute()     JROOT\libraries\src\Application\CMSApplication.php:294
26     Joomla\CMS\Application\CMSApplication->execute()     JROOT\includes\app.php:61
27     require_once()     JROOT\index.php:32

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #83246 by micker
hello can you edit => \plugins\flexicontent_fields\textarea\textarea.php line 686
and replace JFilterInput::getInstance(null, null, 1, 1) by JFilterInput::getInstance([], [], 1, 1)
and put return here

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #83285 by kath
Hi Micker,

>> hello can you edit => \plugins\flexicontent_fields\textarea\textarea.php line 686 [...]

Yes, that seems to do the trick. Is it harmless to leave it in until next update overrides the file?

Thanks,
Ben
 

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #83286 by micker
i commit it master branch of flexicontent

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.810 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline