So I keep getting flooded with errors on my email but I cant seem to know what is causing these errors.
These are the current errors:
----------------------
Type: 2
File: inc/functions.php (Line no. 4930)
Message
urlencode() expects parameter 1 to be string, array given
-----------------------------
Type: 2
File: global.php (Line no. 46)
Message
Illegal offset type in isset or empty
I'm using MyBB 1.8.5 and PHP 5.6.11
Any help is appreciated.
(2015-07-29, 03:04 AM)KevinVR Wrote: [ -> ]Is it possible that you are using this plugin? https://he.wordpress.org/plugins/zingiri...changelog/
In the changelog version 1.1 fixes the urlencode error. (same error could be a coincidence)
Nope I dont have any wordpress plugins on my site neither do I use wordpress.
can you downgrade php to 5.5 or 5.4 and check if those errors / warnings persist ..
Now getting:
Type: 2
File: inc/functions.php (Line no. 7890)
Message
strlen() expects parameter 1 to be string, array given
Type: 2
File: inc/datahandlers/user.php (Line no. 534)
Message
trim() expects parameter 1 to be string, array given
Type: 2
File: inc/functions.php (Line no. 7887)
Message
preg_match() expects parameter 2 to be string, array given
in general, those warnings may be ignored. they are based on php version
admin panel >> configuration (settings) >> Server and Optimization Options -->
Use Error Handling --> On
Error Logging Medium --> Log and email Errors
Error Type Medium --> Errors
Alright I will ignore these errors for now.
There most likely are other rare warnings, but I don't know any more currently, except this:
http://community.mybb.com/thread-176562.html (I'll push all issues mentioned here and in that topic tommorow if noone has anything to add).
That PR doesn't fix anything mentioned here - it's different, incomplete, it affects only 5 files and some changes are not even useful.