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

Some warnings in php #13

Closed
socializam opened this issue Jun 15, 2019 · 5 comments
Closed

Some warnings in php #13

socializam opened this issue Jun 15, 2019 · 5 comments

Comments

@socializam
Copy link

Hello,

I have installed the slickstack github, all installation went ok.
In dashboard i see the following warnings in php error log.

PHP Warning: Invalid argument supplied for foreach() in /var/www/html/wp-cron.php on line 111
PHP Warning: include_once(/var/www/html/wp-content/functions.php): failed to open stream: No such file or directory in /var/www/html/wp-config.php on line 405
PHP Warning: include_once(): Failed opening '/var/www/html/wp-content/functions.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/wp-config.php on line 405

And so on everytime i click someting.

Any help is apreciated.
Thank you!

@jessuppi
Copy link
Member

jessuppi commented Jun 15, 2019

Hello, thanks for reporting this. By the way, your GitHub profile is setup incorrectly -- brands and companies should have an "organization" setup. We are encouraging everyone who contributes here to maintain a real profile (name, photo, etc) to get away from the anon posts.

https://wordpress.org/support/topic/wp-cron-php-problem/

Lots of wp-cron errors reported lately in WP 5+ seems, reasons often unknown. It's possibly from one of the included MU plugins in SlickStack, but shouldn't be an issue.

Some of those errors only come because the installation process has not completed yet. You can try clearing the error log and reset permissions and see if that fixes it --

@socializam
Copy link
Author

Hello, i have cleared the error log reset the permission, also doing things like chmod 777 and that is a bad thing to do still those errors occure.
Also removing all the mu-plugins did not resolve the errors.
What i did was removeing the wordpress installation (just for testing) and downloaded the wordpress from the official site, extracted to html folder setting the database db/pass etc in wp-config.php and the errors disappeared except the one for wp-cron.php and i understand that that's a issue in wp5+.
Anything i could try more?
Thank you!

@jessuppi
Copy link
Member

Please come back after you've setup a real GitHub account (name, photo, etc) thank you --

@toaderrazvan
Copy link

@jessuppi that was not my account was a friends account and i can't change it. Do i close this issue and start a new one with the same problem?

@jessuppi
Copy link
Member

@jessuppi that was not my account was a friends account and i can't change it. Do i close this issue and start a new one with the same problem?

Thank you, please feel free to comment further on this thread, will close for now.

If it's not a recurring error its probably just a temporary error during the PHP install process...

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

No branches or pull requests

3 participants