MyBB Community Forums

Full Version: Upgraded from 1.8.14 to 1.8.19 and getting these errors
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
getting this on the usercp

[Image: bcd1566a0ae53b1e9efea05a140713e2.png]
and my error.log is outputting this

<error>
	<dateline>1537904512</dateline>
	<script>inc/functions_user.php</script>
	<line>492</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>in_array() expects parameter 2 to be array, null given</message>
</error>

<error>
	<dateline>1537904512</dateline>
	<script>inc/functions_user.php</script>
	<line>580</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>in_array() expects parameter 2 to be array, null given</message>
</error>

<error>
	<dateline>1537904512</dateline>
	<script>inc/functions_user.php</script>
	<line>619</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>in_array() expects parameter 2 to be array, null given</message>
</error>


any ideas, im clueless at the moment

well i fixed it but now im getting this

Authorization code mismatch. Are you accessing this function correctly? Please go back and try again.

on the usercp so I think i'm missing something
Default or custom theme? Search the forum for "Authorization code mismatch" - there's lots of threads on this issue.
(2018-09-25, 08:01 PM)Ashley1 Wrote: [ -> ]Default or custom theme? Search the forum for "Authorization code mismatch" - there's lots of threads on this issue.

I tried the default theme as well so it's not a problem with the custom one, plus I already resolved the authorization code error by just clearing my cache and uploading the new usercp.php, but thanks for the reply.

My current issue is all of this in the usercp.php
[Image: bf81071fbd6b25eb2409d33f468e6d70.png]

Well i fixed it just by doing a fresh install and slowly upgrading with the change files fixing bugs along the way