Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: GSM-S on December 18, 2010, 03:45:53 PM

Title: [SMF 2.0 RC4] Recent Posts Error
Post by: GSM-S on December 18, 2010, 03:45:53 PM
Another SMF error on my website. :(

http://goldensunforums.thelostwaters.com/index.php?action=recent
Fatal error: Call to undefined function: array_diff_key() in ../Sources/Recent.php on line 252
Title: Re: [SMF 2.0 RC4] Recent Posts Error
Post by: TheListener on December 19, 2010, 06:52:25 PM
which mods are installed on the forum?

Please paste the error line plus five lines above and below.
Title: Re: [SMF 2.0 RC4] Recent Posts Error
Post by: SA™ on December 19, 2010, 06:55:18 PM
array_diff_key() is a php function in versions 5.1 and greater what your php version?
Title: Re: [SMF 2.0 RC4] Recent Posts Error
Post by: Kays on December 19, 2010, 06:59:07 PM
Hi, that's a known problem. Download the attached file and install it using the Package Manager.

Title: Re: [SMF 2.0 RC4] Recent Posts Error
Post by: FUBAR on January 05, 2011, 07:46:23 PM
I was getting the same error and this worked for me, error logs are still clear.  Thanks Kays!  :)
Title: Re: [SMF 2.0 RC4] Recent Posts Error
Post by: Kays on January 05, 2011, 09:57:24 PM
Great, you're welcome. :)

@GSM-S
If this does resolve your problem, could you please mark this as solved by clicking on the green Mark Topic Solved button below.