| | #1 |
| Promoter War Room Member Join Date: 2008 Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
|
Hi Whilst transefering 2 blogs I got this error Fatal error: Call to undefined function wp() in /home/unemp/public_html/wp-blog-header.php on line 14 Only on one of them the other one transfered without the error. Can any shed a little light on this please. Thanks Steve M |
| | |
| |
| | #2 |
| Warrior Wannabe Join Date: 2009 Location: Gloucester, UK
Posts: 20
Thanks: 1
Thanked 3 Times in 3 Posts
|
I believe this error suggest that the php script has made a call to a function called wp that (if not contained in the page in question) is within an include page that has failed to transfer. If you look at the script within wp-blog-header.php and look for include"filename" or requireonce"filename" . If these appear, ensure that "filename" or whatever it might be called has been uploaded and to the right location. |
| | |
| |
| The Following User Says Thank You to Dylan W For This Useful Post: |
| | #3 |
| Promoter War Room Member Join Date: 2008 Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
|
Hi thanks But I have no idea what that means. <?php /** * Loads the WordPress environment and template. * * @package WordPress */ if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dirname(__FILE__) . '/wp-load.php' ); wp(); require_once( ABSPATH . WPINC . '/template-loader.php' ); } ?> is what I have in the file header file. But am unsure what all this means hahaha Steve Also I have found this too if this makes any sense to you |
| | |
| |
| | #5 |
| Promoter War Room Member Join Date: 2008 Location: Uk
Posts: 470
Thanks: 158
Thanked 43 Times in 42 Posts
|
All sorted now wow that was a mission.... I just deleted all the files and started again from scratch using the original files on my host. Thanks for the help lads! Steve M |
| | |
| |
|
| Bookmarks |
| Tags |
| error, fatel |
| |