Loading...
 
Skip to main content

Undefined variable: useCache when using console.php batch upload command

Status
Closed
Subject
Undefined variable: useCache when using console.php batch upload command
Version
20.x
21.x
Category
  • Error
Feature
Console / Command Line
Resolution status
Out of Date
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

From within a shell script I run:
php ../html/console.php files:batchupload 5 subdirToSubgal createSubgals --confirm

It work fine (subdir are created and file imported accordingly.
However I got a bunch of notices. (I guess one for each file)

Copy to clipboard
PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1313 PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1317 PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1322 PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1313 .../...
Importance
3
Easy to solve?
5
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7272
Created
Friday 21 February, 2020 10:09:23 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 23 August, 2022 12:28:38 UTC


Show PHP error messages