Clearing Cache or changing cache setting throws up error.

Permalink 0 0 Browser Info Environment
I had this site working fine and then upgreaded it to 8.5.1 and now the whole site works fine.

The only problem if you try to clear the cache or change the cache settings you get the following error.

Illuminate \ Contracts \ Container \ BindingResolutionException
Unresolvable dependency resolving [Parameter #0 [ <required> $name ]] in class Monolog\Logger

/var/www/updates/concrete5-8.5.1/concrete/vendor/illuminate/container/Container.php
     *
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     */
    protected function resolveNonClass(ReflectionParameter $parameter)
    {
        if (! is_null($concrete = $this->getContextualConcrete('$'.$parameter->name))) {
            if ($concrete instanceof Closure) {
                return call_user_func($concrete, $this);
            } else {
                return $concrete;
            }
        }
        if ($parameter->isDefaultValueAvailable()) {
            return $parameter->getDefaultValue();


the error is on "throw new BindingResolutionException($message);"


Status: New
TMDesigns
mlocati replied on at Permalink Reply
mlocati
Do you have the stack trace that leads to this error?

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
App Icon (1.0.2), Automatic Email Obfuscator (2.0.1), Cache Warmer (2.1.1), EU Cookie Law (1.0.7), ExchangeCore reCAPTCHA (1.1.1), Extreme Clean (7.1.2), HTML Beautifier + Minifier (1.0.3), Image Optimizer (3.2.8), Imprint Generator (0.9.0.2), otto jakob (1.1.2), Responsive Image (1.1.0)

# concrete5 Overrides
src/Area/GlobalArea.php, src/Area

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.2.22 (Debian)

# Server API
fpm-fcgi

# PHP Version
7.2.11

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, 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 - 128M
post_max_size - 505M
upload_max_filesize - 500M
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 2000
memcached.sess_server_failure_limit - 0
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
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36