Creation of dynamic property Concrete\Core\File\Search\Result\Item::$title is deprecated (8192)

I was enabling the canonical URL in the site “andreas-villa.com” and now I have no access of my dashboard.

Environment Information

Concrete Version

Core Version - 9.3.7
Version Installed - 9.3.7
Database Version - 20240910000000

Hostname

web58.dnchosting.com

System User

cutting4

Environment

production

Database Information

Version: 10.6.20-MariaDB-cll-lve
SQL Mode: NO_ENGINE_SUBSTITUTION
Character Set: utf8mb4
Collation: utf8mb4_unicode_ci

Concrete Packages

None

Concrete Overrides

None

Concrete Cache Settings

Block Cache - Off
Overrides Cache - Off
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

Database Entities Settings

Doctrine Development Mode - Off

Server Software

Apache

Server API

cgi-fcgi

PHP Version

8.2.25

PHP Extensions

bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, random, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, sodium, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

PHP Settings

max_execution_time - 30
allow_url_fopen - On
allow_url_include - Off
error_log - error_log
file_uploads - On
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
max_multipart_body_parts - -1
memory_limit - 128M
post_max_size - 8M
short_open_tag - Off
upload_max_filesize - 2M
zend.exception_string_param_max_len - 15
timelib version - 2022.12
iconv library version - 2.17
imagick module version - 3.7.0
Imagick compiled with ImageMagick version - ImageMagick 7.1.1-39 Q16-HDRI x86_64 22428 https://imagemagick.org
Imagick using ImageMagick library version - ImageMagick 7.1.1-39 Q16-HDRI x86_64 22428 https://imagemagick.org
imagick.skip_version_check - 0
ICU version - 63.1
ICU Data version - 63.1
ICU TZData version - 2018e
ICU Unicode version - 11.0
libmbfl version - 1.3.2
Multibyte regex (oniguruma) version - 6.8.2
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
Extension version - 1.0.6
Library version - 2.5.8
Client API library version - mysqlnd 8.2.25
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
Client API version - mysqlnd 8.2.25
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
Phar API version - 1.1.1
session.cache_limiter - no value
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
libsodium headers version - 1.0.18
libsodium library version - 1.0.18
unserialize_max_depth - 4096
XMLRPC extension version - 1.0.0RC3
core library version - xmlrpc-epi v. 0.51
Zip version - 1.21.1
Libzip version - 1.10.1

Exception Occurred: /home/cutting4/public_html/concrete/src/Cache/Page/PageCacheRecord.php:22 Creation of dynamic property Concrete\Core\Cache\Page\PageCacheRecord::$expires is deprecated (8192)

I get this on the logs if it helps

This would be best made an issue on guthub Issues · concretecms/concretecms · GitHub

Are you able to use the command line on the server? You have full page caching enabled and the error is related to caching. If you can run ./concrete/bin/concrete c5:clear-cache from the webroot, you may be able to clear this error.

I don’t know how to use CL tool. Now the site is totally inaccessible.
" An unexpected error occurred.
An error occurred while processing this request."

I was able to do that from “https://andreas-villa.com/index.php/dashboard/system/optimization/clearcache” but still the site is inaccessible. Please help

@basalba
If you think the changes you made to the canonical setting is causing your issue, you can edit the application/config/generated_overrides/site.php file and set the canonical url to:

'seo' => [
                'canonical_url' => '',
                'canonical_url_alternative' => '',
                'canonical_tag' => [
                    'enabled' => false,
                ],
],

1 Like

Sorry but now cannot even open dashboard anymore
Should I try new ConcreteCRM installation?

Yes, it is probably easier to just do a fresh install to a new database.

your host is using cpanel. if you log into that and go to the file manager, you can edit the files as ConcreteOwl suggested.

I would not do a fresh install when all you need to do is edit the “application/config/generated_overrides/site.php” file as @Myq is suggesting. The free Filezilla FTP program is also able to edit the files on the server.