Error on 9.0.1 – Call to undefined method

Permalink Browser Info Environment
Testing this out. And after inserting the block it throws an error. Hmm? Do i have to setup someting for this?

The error is:
Call to undefined method Concrete\Core\Tree\Node\Type\FileFolder::getTreeNodeFileObject()

packages/ab_file_list/blocks/ab_file_list/view.php Line 33

Perhaps you have an idea what went wrong.

Type: Discussion
Status: In Progress
typoman76
View Replies:
linuxoid replied on at Permalink Reply
linuxoid
Hi,

The error occurs if you select a file manager folder which doesn't have any files, only folders. I'll fix it shortly.

Thanks.
Alex
linuxoid replied on at Permalink Reply
linuxoid
I've fixed the bug. Please update the package to v2.0.2.

Thank you.
Alex
typoman76 replied on at Permalink Reply
typoman76
Wow. That was fast!
It's working now and yes i selected a folder without files. Was not sure if the block outputs the subfolders in a nested way and wanted to test it. Thanks a lot for your fix and the block!

concrete5 Environment Information

# Concrete Version
Core Version - 9.0.1
Version Installed - 9.0.1
Database Version - 20211104161958

# Database Information
Version: 5.7.26-log-cll-lve
SQL Mode: NO_ENGINE_SUBSTITUTION

# Concrete Packages
File List (2.0.1)

# Concrete Overrides
None

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
7.4.26

# PHP Extensions
apcu, bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mysqli, mysqlnd, OAuth, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, tidy, tokenizer, vips, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 16M
upload_max_filesize - 16M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.