News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error in code

Started by HamishM, May 08, 2010, 08:53:13 AM

Previous topic - Next topic

HamishM

Using SMF 1.1.11 Default

I am getting an error:
Fatal error: Call to undefined function: array_combine() in /hsphere/local/home/arches12/radarspotters.eu/forum/Sources/SMFBay-Subs.php on line 121

Here is the code from line 121
$query_data = array_combine($columns, $data);

Can anybody identify the problem ??

Thanks ... Hamish

Mick.

That looks like an issue with the SMFBay mod.  You might want to seek help in their thread.

HamishM

Will do, thanks.

Regards .. Hamish

MrPhil

You need PHP 5 to get "array_combine()". Either enable PHP 5 (if you can), or look into writing the equivalent function yourself, or stop using that mod.

Advertisement: