You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem
I have a channel for Apps, and within the channel, I have a field for the apps logo. I thought it would be great to see the logo as part of the columns on the listing view of the entries. I have tried this on two different sites, and one has a warning but shows the URL to the image:
Notice
Undefined index: title
ee/ExpressionEngine/Addons/file/ft.file.php, line 1004
Severity: E_NOTICE
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/ExpressionEngine/Boot/boot.common.php, line 476
Severity: E_WARNING
And the other site shows an error, and now I am not able to see any entries in that channel:
Error Caught
Call to a member function toArray() on null
ee/legacy/libraries/File_field.php:619
Stack Trace: Please include when reporting this error
#0 ee/legacy/libraries/File_field.php(656): File_field->get_file('898')
#1 ee/ExpressionEngine/Addons/file/ft.file.php(262): File_field->parse_field('{file:898:url}')
#2 ee/ExpressionEngine/Addons/file/ft.file.php(1003): File_ft->pre_process('{file:898:url}')
#3 ee/ExpressionEngine/Model/Content/FieldFacade.php(462): File_ft->renderTableCell('{file:898:url}', 107, Object(ExpressionEngine\Addons\Pro\Model\Channel\ChannelEntry))
#4 ee/ExpressionEngine/Library/CP/EntryManager/Columns/CustomField.php(68): ExpressionEngine\Model\Content\FieldFacade->renderTableCell('{file:898:url}', 107, Object(ExpressionEngine\Addons\Pro\Model\Channel\ChannelEntry))
#5 ee/ExpressionEngine/Library/CP/EntryManager/ColumnRenderer.php(58): ExpressionEngine\Library\CP\EntryManager\Columns\CustomField->renderTableCell(NULL, NULL, Object(ExpressionEngine\Addons\Pro\Model\Channel\ChannelEntry), 'list', false)
#6 [internal function]: ExpressionEngine\Library\CP\EntryManager\ColumnRenderer->ExpressionEngine\Library\CP\EntryManager\{closure}(Object(ExpressionEngine\Library\CP\EntryManager\Columns\CustomField))
#7 ee/ExpressionEngine/Library/CP/EntryManager/ColumnRenderer.php(59): array_map(Object(Closure), Array)
#8 ee/ExpressionEngine/Controller/Publish/Edit.php(206): ExpressionEngine\Library\CP\EntryManager\ColumnRenderer->getRenderedTableRowForEntry(Object(ExpressionEngine\Addons\Pro\Model\Channel\ChannelEntry))
#9 [internal function]: ExpressionEngine\Controller\Publish\Edit->index()
#10 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#11 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array)
#12 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#13 admin.php(154): require_once('...')
#13 admin.php(154): require_once('...')
How To Reproduce
Steps to reproduce the behavior:
adding a file field or image
Screenshots / Videos / Template Code
Environment Details:
Version: 7.1.2
PHP Version 7.4.30
MySQL Version 10.3.36-MariaDB
OS: Mac
Web Server: Apache Version | 2.4.54
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered:
This seems to be related to the fact that at least in one entry the fields are pointing to the files that do not exist. The pull request referenced here will fix the issue
Description of the problem
I have a channel for Apps, and within the channel, I have a field for the apps logo. I thought it would be great to see the logo as part of the columns on the listing view of the entries. I have tried this on two different sites, and one has a warning but shows the URL to the image:
And the other site shows an error, and now I am not able to see any entries in that channel:
How To Reproduce
Steps to reproduce the behavior:
Screenshots / Videos / Template Code
Environment Details:
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: