MyBB Community Forums
Upgraded from 1.8.14 to 1.8.19 and getting these errors - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html)
+--- Thread: Upgraded from 1.8.14 to 1.8.19 and getting these errors (/thread-219930.html)



Upgraded from 1.8.14 to 1.8.19 and getting these errors - rossiscool123 - 2018-09-25

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


RE: Upgraded from 1.8.14 to 1.8.19 and getting these errors - Ashley1 - 2018-09-25

Default or custom theme? Search the forum for "Authorization code mismatch" - there's lots of threads on this issue.


RE: Upgraded from 1.8.14 to 1.8.19 and getting these errors - rossiscool123 - 2018-09-25

(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