You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2020-04-03 23:19:10

Grawolph
Member
From: Kansas City, Missouri, USA
Registered: 2018-04-23
Posts: 8
Website

Problems running Cron

I just started trying to run a cron job and I think I entered it correctly, however, when it runs, I get the following errors:

Toolbox::userErrorHandlerNormal() in /home/jamewxep/public_html/inventory/inc/toolbox.class.php line 658
  *** PHP Deprecated function(8192): Array and string offset access syntax with curly braces is deprecated
  Backtrace :
  ...ns/barcode/vendor/composer/autoload_real.php:70
  ...ns/barcode/vendor/composer/autoload_real.php:70 require()
  ...ns/barcode/vendor/composer/autoload_real.php:60 composerRequirecfbd9b1f54c96e09bf7a142045b4d891()
  plugins/barcode/vendor/autoload.php:7              ComposerAutoloaderInitcfbd9b1f54c96e09bf7a142045b4d891::getLoader()
  plugins/barcode/setup.php:53                       require_once()
  inc/plugin.class.php:168                           plugin_init_barcode()
  inc/includes.php:104                               Plugin::load()
  front/cron.php:38                                  include()


I am running GLPI 9.4.5 on a Linux system with PHP version 7.4.  This is my cron command:

  0,30     *     *     *     *     /usr/local/bin/php /home/jamewxep/public_html/inventory/front/cron.php

Perhaps this has been covered before, but after a couple searches, I couldn't find anything.  Can anybody help or at least point me in the right direction?

Thanks!

James


James Hale

Offline

#2 2020-04-06 18:59:43

Grawolph
Member
From: Kansas City, Missouri, USA
Registered: 2018-04-23
Posts: 8
Website

Re: Problems running Cron

No one has run into this?  Or can help me with this error?  I'm just wondering if it's a PHP Version error or not, but I don't know enough about PHP to know this.

Any help would be appreciated!


James Hale

Offline

#3 2020-04-24 09:55:48

Diamond
Member
Registered: 2010-11-30
Posts: 20

Re: Problems running Cron

Hi,

I have similar issue. Every time I access plugins page, these are occurred.

[2020-04-24 07:45:24] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/html/inc/toolbox.class.php line 658
  *** PHP Deprecated function(8192): Array and string offset access syntax with curly braces is deprecated
  Backtrace :
  ...dor/rospdf/pdf-php/src/include/TTFsubset.php:20
  ...dor/rospdf/pdf-php/src/include/TTFsubset.php:20 include_once()
  ...ndor/rospdf/pdf-php/src/include/TTFhelper.php:3 require_once()
  ...ns/barcode/vendor/rospdf/pdf-php/src/Cpdf.php:3 include_once()
  ...ns/barcode/vendor/composer/autoload_real.php:70 require()
  ...ns/barcode/vendor/composer/autoload_real.php:60 composerRequire9c99ad4c5cc49b8534888005ac1a99b4()
  plugins/barcode/vendor/autoload.php:7              ComposerAutoloaderInit9c99ad4c5cc49b8534888005ac1a99b4::getLoader()
  plugins/barcode/setup.php:53                       require_once()
  inc/plugin.class.php:168                           plugin_init_barcode()
  inc/plugin.class.php:1913                          Plugin::load()
  inc/search.class.php:6313                          Plugin::getSpecificValueToDisplay()
  inc/search.class.php:1441                          Search::giveItem()
  inc/search.class.php:98                            Search::constructData()
  inc/search.class.php:80                            Search::showList()
  front/plugin.php:52                                Search::show()


[2020-04-24 07:45:24] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/html/inc/toolbox.class.php line 658
  *** PHP Deprecated function(8192): Array and string offset access syntax with curly braces is deprecated
  Backtrace :
  ...ns/barcode/vendor/composer/autoload_real.php:70
  ...ns/barcode/vendor/composer/autoload_real.php:70 require()
  ...ns/barcode/vendor/composer/autoload_real.php:60 composerRequire9c99ad4c5cc49b8534888005ac1a99b4()
  plugins/barcode/vendor/autoload.php:7              ComposerAutoloaderInit9c99ad4c5cc49b8534888005ac1a99b4::getLoader()
  plugins/barcode/setup.php:53                       require_once()
  inc/plugin.class.php:168                           plugin_init_barcode()
  inc/plugin.class.php:1913                          Plugin::load()
  inc/search.class.php:6313                          Plugin::getSpecificValueToDisplay()
  inc/search.class.php:1441                          Search::giveItem()
  inc/search.class.php:98                            Search::constructData()
  inc/search.class.php:80                            Search::showList()
  front/plugin.php:52                                Search::show()
php --version
PHP 7.4.2 (cli) (built: Feb  1 2020 19:39:30) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

GLPI 9.4.5

I can be PHP version.


GLPI 0.8 on PHP 5.2.6-1+lenny6, apache 2.2.9

Offline

Board footer

Powered by FluxBB