Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning: Constant AP_HOST already defined #46

Open
ipajen opened this issue Oct 24, 2024 · 0 comments
Open

PHP Warning: Constant AP_HOST already defined #46

ipajen opened this issue Oct 24, 2024 · 0 comments

Comments

@ipajen
Copy link

ipajen commented Oct 24, 2024

in wp-config
define( 'AP_HOST', 'api.aspirecloud.org' ); define( 'AP_REMOVE_UI', true ); define( 'AP_API_KEY', true );

gives:
`[24-Oct-2024 19:32:55 UTC] PHP Warning: Constant AP_HOST already defined in /home/khaotiptha/domains/xxx/public_html/blog/wp-config.php on line 94

[24-Oct-2024 19:32:55 UTC] PHP Warning: Constant AP_API_KEY already defined in /home/khaotiptha/domains/xxx/public_html/blog/wp-config.php on line 96
`
When checking wp-config define lines are only once, and the define( 'AP_REMOVE_UI', true ); works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant