• Hi
    I have multiple wordpress websites. they were running smooth for long time but suddenly the wp- load file is remaining 0 and the site is not loading. I have copy paste the wp load file several time but it remains 0 after every reload.I have also changed the core wp files several times. i have rename the plugin folder and the site runs..but if i want to active any plugin the site gets down..and wp-load file becomes 0.all of my wp websites are having the issue..I am in big problem..

    in the error log this problem shows: Call to undefined function wp() in /home1/pathokne/public_html/amarbari/org/wp-blog-header.php:16

    Please help me to solve this solution.

    thanks

Viewing 15 replies - 1 through 15 (of 27 total)
  • Hello,

    Your wp-config.php file might be empty for some reason.

    please check it and revert to me.

    Thanks

    Thread Starter mridulmet

    (@mridulmet)

    thnks for response.. not my config.php file is not empty @aimsinfosofts

    Hello,

    please try to reinstall everything manually

    please check the below link

    https://www.ads-software.com/support/article/updating-wordpress/#manual-update

    Thanks

    • This reply was modified 4 years, 8 months ago by Aims Infosoft.
    Thread Starter mridulmet

    (@mridulmet)

    I have already updated the core files several times.. no result @aimsinfosofts

    Hello,

    wp() is quite essential function. It resides in wp-includes\functions.php file (don’t confuse with functions.php in theme, different thing) and I don’t think you can load WP without passing require directive for that file at some point.

    So your install seems very broken – either functions.php file in core is damaged or something else is broken and makes it skip loading that file.

    you can find
    require( ABSPATH . WPINC . '/functions.php' );
    in wp-setting.php file.

    Thread Starter mridulmet

    (@mridulmet)

    Thanks for response..The wp() is not loaded because the wp-load file is getting empty continuously. I need a permanent solution for it.. I am in big problem

    Hi,

    May be some virus in your site,so please try to remove it.

    it can be a headache, but disabling all of your plugins, then going through and enabling your plugins one by one will often pinpoint the problem.

    or

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thanks

    Hi members!

    I really have the same problem. Wp-load folders keeps empty the folder when i’m doing something on my wordpress. Please help me

    In my direct admin error log:
    require()\n#1 {main}\n thrown in /home/xxxx/domains/social-boost.nl/public_html/wp-blog-header.php on line 16′

    Thread Starter mridulmet

    (@mridulmet)

    I have changed the wp core files with new ones several times but no change.. Then I rename the plugin folder.. Site runs..then I thought it might be any of plugin..then i try to install a new plugin..and the problem arise again @aimsinfosofts

    Can someby tell me the following.

    I want to install new folders wordpress. Which files can not be overwritten to lose content or site. So I can look if the problem solves.

    Thread Starter mridulmet

    (@mridulmet)

    wp-content folder and wp-config.php file.dont delete them..overwrite all other files
    after installing new wordpress file;..try to login in to wp dashboard and try to do something.and see what happens@socialboostlivechat

    • This reply was modified 4 years, 8 months ago by mridulmet.

    Thanks @mridulmet I really don;t know why wp-load is keeps empty itself. I will let you know if overwritting new files worked

    Members,

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    please do not be overwrite, first remove original files and replace them with new downloaded files.

    Thanks

    I am facing this problem since last wordpress update .Its already 5+ days. wp-load files becomes 0 automatically.. i tried every solution available its not working ..

    1) i downgraded the WP but still wp-load file becomes 0

    2) I tried to replace the file but after few seconds it becomes zero again..

    3) overwrite with old back not working

    4) disable all plugins -still same issue

    5) Revert to default theme same issue.

    6) deleted all plugins & themes – still same issue..

    Wordpress its your last update that broke my all three websites.

    Please release the solution…

    I did all the steps! And no succes. But is have an temporary fix!

    In Cpanel or direct admin set the permission on 444. But do it quik because 1 file empty the folder. Now my problem is temporary solved. But when I read the internet more people facing the same problem. I think wordpress needs to fix this.

    Please let me know if this helps others!

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘wp-load file is becoming blank’ is closed to new replies.