Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-20 10:34:16

patje
New Member
Registered: 2009-10-20
Posts: 1

Warning: extract() error

hi guys,

We run a plesk server 8.6 and a customer installed textpattern on it. Now he gets this error:

Warning: extract() [function.extract]: First argument should be an array in /var/www/vhosts/jdsearch.com.sg/httpdocs/textpattern/publish.php on line 53

Unknown section

Line 53 points to: // add prefs to globals extract($prefs);

in php.ini I have already register_globals = Off

This is our PHP version:
PHP 5.2.6 (cli) (built: May 8 2008 08:53:44)
Copyright © 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2008 Zend Technologies with the ionCube PHP Loader v3.1.29, Copyright © 2002-2007, by ionCube Ltd.

what else do we need to set to get past this error.

thanks, Patrick

Offline

#2 2009-10-20 11:28:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Warning: extract() error

Can you please post the Admin>Diagnostics?

Also errors normally disappear when the site is on “Live” mode (Admin>preferences)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB