Action hook ‘wp’ firing twice… why?

It can happen if one of the files you include in the theme is returning 404 Not Found error. Like, if you’re linking to a .js or .css or an image which does not exist on that location. Use the Inspector in your browser to see if you get any 404 errors, anywhere.

Fix them and try again.

Leave a Comment