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



UserSpice
Fresh install - wierd PHP errors - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Fresh install - wierd PHP errors (/showthread.php?tid=832)



Fresh install - wierd PHP errors - grumpy-gnome - 11-16-2017

On my WAMPServer environment (fresh install today - v3.1.0) have done a clean install of v4.3 using the MASTER download from the homepage. Got some table errors during the install, but completed OK apparently.

When accessing the site's default index.php I get a bunch of wierd PHP errors including these:
<pre>
Code:
[16-Nov-2017 18:43:46 UTC] No error - Only to create the file
[16-Nov-2017 19:46:27 UTC] PHP Warning:  fclose(): supplied resource is not a valid stream resource in C:\wamp64\www\stock\install\step2.php on line 198
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 66
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 80
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 84
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 95
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 127
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 138
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 144
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 148
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\header.php on line 151
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\navigation.php on line 20
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\users\includes\navigation.php on line 117
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\index.php on line 22
[16-Nov-2017 19:46:35 Europe/London] PHP Notice:  Trying to get property of non-object in C:\wamp64\www\stock\usersc\includes\footer.php on line 39
</pre>


Seems related to accessing properties in $settings object...

Configuration is: PHP 7.1.9; Apache 2.4.27; MySQL 5.7.19

Any ideas?

BTW, did an upgrade to 4.3 from 4.2.12 on my other dev box and that went well with no problems!


Fresh install - wierd PHP errors - mudmin - 11-16-2017

I just pushed out 4.3.4. Would you mind wiping that one and trying again?


Fresh install - wierd PHP errors - grumpy-gnome - 11-17-2017

On it...


Fresh install - wierd PHP errors - grumpy-gnome - 11-17-2017

All sorted now with 4.3.4 - Thanks


Fresh install - wierd PHP errors - mudmin - 11-17-2017

Awesome! We're getting there.

It's crazy how different servers are. 4.3.2 worked on every server I had, but it's obvious that a lot of servers didn't like it. I think we found something that works for everyone now. Thanks for your patience.