The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Updating to 4.4.03 - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.4 (https://userspice.com/forums/forumdisplay.php?fid=27)
+--- Thread: Updating to 4.4.03 (/showthread.php?tid=1357)



Updating to 4.4.03 - grumpy-gnome - 03-03-2019

Tried this on my development system (which is running 4.4.02 fine) and got the error in the screenshot.

   

PHP error log says:


Code:
[03-Mar-2019 07:08:50 UTC] PHP Fatal error:  require_once(): Failed opening required 'C:/wamp64/www/stock/usersc/vendor/autoload.php' (include_path='.;C:\php\pear') in C:\wamp64\www\stock\users\helpers\helpers.php on line 35
[03-Mar-2019 07:08:50 UTC] PHP Stack trace:
[03-Mar-2019 07:08:50 UTC] PHP   1. {main}() C:\wamp64\www\stock\users\update.php:0
[03-Mar-2019 07:08:50 UTC] PHP   2. require_once() C:\wamp64\www\stock\users\update.php:2
[03-Mar-2019 07:08:50 UTC] PHP   3. require_once() C:\wamp64\www\stock\users\init.php:23

Tried just copying "vendor" folder to usersc - which is where it is looking for "autoload.php", but that just makes thing worse, PHP error log below:
===================================
[03-Mar-2019 07:26:22 UTC] PHP Fatal error: Cannot redeclare composerRequire09fae17662c0d8fcca874043515d9423() (previously declared in C:\wamp64\www\stock\users\vendor\composer\autoload_real.php:63) in C:\wamp64\www\stock\usersc\vendor\composer\autoload_real.php on line 70
[03-Mar-2019 07:26:22 UTC] PHP Stack trace:
[03-Mar-2019 07:26:22 UTC] PHP 1. {main}() C:\wamp64\www\stock\index.php:0
[03-Mar-2019 07:26:22 UTC] PHP 2. require_once() C:\wamp64\www\stock\index.php:3
[03-Mar-2019 07:26:22 UTC] PHP 3. require_once() C:\wamp64\www\stock\users\init.php:23
[03-Mar-2019 07:26:22 UTC] PHP 4. require_once() C:\wamp64\www\stock\users\helpers\helpers.php:35
====================================

Time to pop back to a backup!


RE: Updating to 4.4.03 - Brandin - 03-03-2019

Hi gnome,

You can do one of two things, remove the call to usersc/vendor/autoload from the helpers/helpers.php file or you can add the composer to usersc using ths package:
https://github.com/mudmin/updates/raw/master/4403%20Composer%20Fix.zip

Thank you,
Brandin.


RE: Updating to 4.4.03 - grumpy-gnome - 03-03-2019

(03-03-2019, 12:02 PM)Brandin Wrote: Hi gnome,

You can do one of two things, remove the call to usersc/vendor/autoload from the helpers/helpers.php file or you can add the composer to usersc using ths package:
https://github.com/mudmin/updates/raw/master/4403%20Composer%20Fix.zip

Thank you,
Brandin.

Thanks for the prompt response.

I'll go for the 4403 fix since I assume that will keep my install supported...

Cheers

Chris