Admin dashboard not available after update
I updated to the latest version on github today and may admin dashboard is not available anymore.
Debog log shows this error:
[30-Jan-2015 19:11:29 UTC] PHP Warning: require_once(/wp-content/plugins/anspress/widgets/question_stats.php): failed to open stream: No such file or directory in /wp-content/plugins/anspress/anspress.php on line 255 [30-Jan-2015 19:11:29 UTC] PHP Fatal error: require_once(): Failed opening required '/wp-content/plugins/anspress/widgets/question_stats.php' (include_path='.:') in /wp-content/plugins/anspress/anspress.php on line 255
Please fix that..
Thank you
Files are missing in your installation.
I know what that error means, but they are not only missing in my installation, they are also missing on github:
http://fs2.directupload.net/images/150131/kt77vtcv.png
I cant see a questions_stats.php file there…
And like I said, also after deleting the “require_once ANSPRESS_DIR.’widgets/question_stats.php’;” line, the admin dashboard was not available.
lol, file is in the screenshot.. https://github.com/wp3/anspress/blob/master/widgets/question_stats.php
Sorry my fault :O
I dont know why the error was displayed. But nevertheless the admin dashboard is not available after updating anspress. I have a old download here (from 24.01.2015), that works. Then I have a download here from 28.01.2015 that does not work and current version does also not work….
I am sure files missing, re-download
I re-downloaded it 5 times, always same result.
Im getting this error when I try to access admin dashboard:
Notice: is_post_type_archive was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /wp-includes/functions.php on line 3547 Warning: Missing argument 2 for AnsPress_Actions::the_title() in /wp-content/plugins/anspress/includes/actions.php on line 342 Fatal error: Call to a member function get() on a non-object in /wp-includes/query.php on line 28
Ok, I am checking it. Sorry for the trouble.
Oh problem dude 🙂
I guess its that commit (but you probably know this):
https://github.com/wp3/anspress/commit/20be38044de0916a0303ef7a808a53acd5f15da3#diff-b9cc7a0c429b75433ed98a5c3a028f4bR342
Any news about the issue?
After deleting the “require” line in the anspress.php the admin dashboard does still not work!