• Welcome to Simple Machines Community Forum. Please login or sign up.
September 28, 2021, 08:44:41 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


SMF RC3 CacheAPI-memcached Line 178

Started by Massl, October 18, 2020, 06:02:59 AM

Previous topic - Next topic

Massl

Hi, every time I open the home of the admin panel a new error is generated

Type of error: General
Error message:
2: current() expects parameter 1 to be array, bool given
File: /home/public_html/Sources/CacheAPI-memcached.php
Line: 178
URL of page causing the error: https://mysite.com/index.php?action=admin
Backtrace information
#0: smf_error_handler()
Called from unknown on line -1
#1: current()
Called from /home/public_html/Sources/CacheAPI-memcached.php on line 178
#2: getVersion()
Called from /home/public_html/Sources/Subs-Admin.php on line 87
#3: getServerVersions()
Called from /home/public_html/Sources/Admin.php on line 549
#4: AdminHome()
Called from /home/public_html/Sources/Admin.php on line 499
#5: AdminMain()
Called from /home/public_html/index.php on line 173


Cache is disabled.

Suki

Thank you for the report, its a known issue and has been resolved on current github.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.


madwolf27

Hey. Can you please link to the fix? I found multiple commits related to CacheAPI?

Suki

Welcome to SMF.

All those commits are merged into master. Current github package can be obtained from https://github.com/SimpleMachines/SMF2.1/archive/release-2.1.zip
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Making tough decisions, so you don't have to.

Advertisement: