Author Topic: miscsorter.php error  (Read 1635 times)

Offline xeddog

  • Prolific Indexer
  • ****
  • Posts: 240
  • Helpful: +9/-2
miscsorter.php error
« on: 2017-08-16, 09:20:46 am »
I thought I had it all working again, but I noticed that some of the counts in the tmux monitor just weren't changing.  I found a ton of these in  /var/www/nZEDb/misc/update/nix/tmux/php_errors.log
Quote
[15-Aug-2017 13:19:42 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Class 'Tmdb\ApiToken' not found in /var/www/nZEDb/nzedb/Movie.php:170
Stack trace:
#0 /var/www/nZEDb/nzedb/MiscSorter.php(36): nzedb\Movie->__construct(Array)
#1 /var/www/nZEDb/misc/update/nix/tmux/bin/groupfixrelnames.php(21): nzedb\MiscSorter->__construct(true, Object(nzedb\db\DB))
#2 {main}
  thrown in /var/www/nZEDb/nzedb/Movie.php on line 170

Is there something I need to do or ?????


Thanks,

Wayne

Offline kaibosh

  • Overlord
  • ******
  • Posts: 161
  • Helpful: +18/-0
Re: miscsorter.php error
« Reply #1 on: 2017-08-16, 11:46:08 pm »
Looks like it's missing some dependencies, try a "composer install" from the zed root directory.

Offline xeddog

  • Prolific Indexer
  • ****
  • Posts: 240
  • Helpful: +9/-2
Re: miscsorter.php error
« Reply #2 on: 2017-08-17, 04:02:47 pm »
I ran the composer install command and it did a bunch of . . . stuff . . . and it looks like everything is working, but I am still getting a php_errors.log file at /var/www/nZEDb/misc/update/nix/tmux/php_errors.log.  It contains a butt load of these:
Quote
[17-Aug-2017 15:05:01 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:05:07 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:05:09 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:05:21 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:05:34 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:05:43 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:06:05 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:06:14 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601
[17-Aug-2017 15:08:19 America/Los_Angeles] PHP Notice:  Only variables should be assigned by reference in /usr/share/php/PEAR.php on line 601

Offline kaibosh

  • Overlord
  • ******
  • Posts: 161
  • Helpful: +18/-0
Re: miscsorter.php error
« Reply #3 on: 2017-08-18, 05:26:51 am »
Those are warnings you can safely ignore. The latest version of that PEAR library has (finally) a fix for that.