backdrop-contrib / brush

Brush is a command line shell and Unix scripting interface for Backdrop CMS.
GNU General Public License v3.0
2 stars 0 forks source link

Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' #6

Closed alanmels closed 4 years ago

alanmels commented 4 years ago

With PHP 7.3.18 it is giving:

brush st
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:32                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:51                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:60                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:79                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:98                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:153                          [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:159                          [warning]
alanmels commented 4 years ago

With PHP 7.2.31 it gives:

brush st
The following restricted PHP modes have non-empty values:            [error]
disable_functions. This configuration is incompatible with brush. 
Please check your configuration settings in
/etc/opt/remi/php72/php.ini or in your brush.ini file; see
examples/example.brush.ini for details.
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:32                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:51                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:60                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:79                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:98                           [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:153                          [warning]
Use of undefined constant BRUSH_BOOTSTRAP_BRUSH - assumed 'BRUSH_BOOTSTRAP_BRUSH' (this will throw an Error in a future version of PHP) sql.brush.inc:159                          [warning]