Opened 7 years ago
Closed 2 years ago
#44020 closed defect (bug) (invalid)
WordPress Installation Error
Reported by: | Benjamin_Zekavica | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | reporter-feedback close |
Focuses: | Cc: |
Description
On all my new project I have this error message if I want to install WordPress:
Fatal error: Uncaught Error: Call to undefined function wp() ..... wp-blog-header.php on line 16
Please fix it.
Change History (6)
#3
@
7 years ago
- Keywords reporter-feedback added
Hi @Benjamin_Zekavica, welcome to WordPress Trac! Thanks for the report.
In #44480 you mention creating a wp-config.php
file. Does the issue happen with the file you've created manually, or with the file created by the WordPress installer?
I can only reproduce the error if I create a file without the necessary lines at the end, see wp-config-sample.php:
/** Absolute path to the WordPress directory. */ if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', dirname( __FILE__ ) . '/' ); } /** Sets up WordPress vars and included files. */ require_once( ABSPATH . 'wp-settings.php' );
Could you make sure these lines are present in your wp-config.php
file?
#4
@
7 years ago
Thank your @SergeyBiryukov :)
This bug cames with wp 4.9.6 - in different versions I dont have any problems.
After I upload WP Files on server i open the path of the installation in the browser - normaly cames a installation screen but for still 7 Weeks I have alwasy this bug.
I have try it on local machine and a live server its a same error message.
More and more my friends who works with WP say this error with the new version.
To fix it i create manually a wp-config.php and copy the code for example config. Than it works. But the installer message dont came direcly.
I hope it can be fixed.
Best wishes from Germany :)
#5
@
3 years ago
- Keywords close added; needs-testing removed
Hello @Benjamin_Zekavica,
Are you still having this problem? Were you able to check if the lines Sergey noted previously are at the end of the wp-config.php
file?
Marking this ticket as a close candidate since it's been 3 years. What happens when marked as close? If there's no activity in a month, the ticket will be closed. But don't worry, if the problem persists, it can be reopened for further investigation.
#44480 was marked as a duplicate.