Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • #4856

    Hi, having an issue deploying this on production server.

    It’s fine on local machine but when i move it over I get the following error printed on page and the styling is all off.

    Steps taken:

    Copy files to remote server

    Edit wp-config

    Export Database from PHPMyAdmin

    find/replace on http://localhost/sitename to

    Import into remote DB


    Warning: extract() expects parameter 1 to be array, null given in /home/c555194/public_html/wp-content/themes/velvet/includes/helper-templates.php on line 369

    Any help appreciated


    Sorry, WP 3.1.3 and 3.1.4 php v 5



    maybe try to reset the velvet theme options (delete the option table in the db if you can’t access the theme panel). The error indicates that an array is corrupt and that the template builder data isn’t valid.


    Thanks for the reply.

    OK, so does that mean I have to go and redo all they options again??


    btw, a reset in admin options got rid of the error, so you are probably right.

    So it seems something’s getting corrupted between the export of the working site and the import to the new site? I’ll try re-exporting/importing the wp_options table again (presume settings are all in there?)

    Someone somewhere else mentioned a version of PHP might be the issue? Version on the server is PHP Version 5.3.6.


    No – I’m not aware of problem with PHP5.1+ – just older versions don’t work at all.


    OK, any ideas??? i’m in a bit of a bind here :-)


    You can only try to import the options again. I don’t know an alternative solution :(


    ok, I did, a few times :-) I have also tried it on a different remote server, same issue. Something’s getting reset when a moved wp_options table is used. Hrm. This is a nightmare


    Are you absolutely positive you changed all the url’s stored in the wp_options tables? Many are hidden in the saved “text” and you might have an option still linked to your localhost. Happened to me earlier during some testing. If it’s not that it seems we’ve run to a dead end.


    what do you mean by ‘hidden’? I exported the database and did a find/replace.

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘error when deployed to remote host’ is closed to new replies.