- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
Minor
 - 
    None
 - 
    3.2.3
 - 
    Host: localhost
OS: Linux (Fedora 28)
Database: PostgreSQL 10.5
PHP version: 7.1.17
 
I am updating from 3.2.2 to 3.2.3 with the 'Full Package' install as described in Knowledge Base > Updating 3.2.x. When I update the database from the command line, a PHP warning is displayed.
					#  php ./bin/phpbbcli.php db:migrate --safe-mode
			 | 
		
					Installed Schema: \phpbb\db\migration\data\v32x\enable_accurate_pm_button; Time: 0.00 seconds  | 
		
					Installed Data: \phpbb\db\migration\data\v32x\enable_accurate_pm_button; Time: 0.01 seconds  | 
		
					Installed Schema: \phpbb\db\migration\data\v32x\v323rc1; Time: 0.00 seconds  | 
		
					PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/forum/phpbb/cache/driver/memory.php on line 191  | 
		
					Installed Data: \phpbb\db\migration\data\v32x\v323rc1; Time: 0.00 seconds  | 
		
					Installed Schema: \phpbb\db\migration\data\v32x\v323rc2; Time: 0.00 seconds  | 
		
					PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/forum/phpbb/cache/driver/memory.php on line 191  | 
		
					Installed Data: \phpbb\db\migration\data\v32x\v323rc2; Time: 0.00 seconds  | 
		
					Installed Schema: \phpbb\db\migration\data\v32x\v323; Time: 0.00 seconds  | 
		
					PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/forum/phpbb/cache/driver/memory.php on line 191  | 
		
					Installed Data: \phpbb\db\migration\data\v32x\v323; Time: 0.00 seconds  | 
		
| 
					 | 
		
					[OK] The database update was successful.
			 | 
		
I am using memcache, my config.php file contains:
					$acm_type = 'memcache';  | 
		
I have experienced memcache problems with an earlier upgrade. See: Database update from 3.1.10 to 3.2.1 broken (postgreSQL) (Open - can it be dispositioned?)
My workaround was to utilize the phpBB cache driver for the upgrade. I modified config.php to:
					$acm_type = 'phpbb\\cache\\driver\\file';  | 
		
The database update was successful with no errors. I will use this workaround for my production server.
- duplicates
 - 
                    
PHPBB-15791 php 7.2 count() bug in memory cache driver
-         
 - Closed
 
 -         
 

