Open raamdev opened 7 years ago
The best solution, which I have tried, is to uninstall the wordpress and reinstall manually. Installing wordpress using sofwares like 1Click Install, Fantastico Deluxe, Softaculous etc., leads to this error. A fine tutorial on manual installation of Wordpress can be found here: https://www.youtube.com/watch?v=LIhNlzLgF78
We have at least two independent reports of an error that only appears occasionally and only when Comet Cache is active. Some reports indicate that a "blank screen is shown" and the cache must be cleared before things start working again.
The error is referring to a failure at
/home/wp-includes/link-template.php
on line 453, which is a call toget_year_permastruct()
(a WordPress Core function). In this case, the error says that the error is a “Call to a member function get_year_permastruct() on null”… what’snull
? According to the error,$wp_rewrite
, which was just defined asglobal
earlier in that function, isnull
, which doesn’t make sense.So it sounds like something (perhaps another plugin or some other custom code) is messing with the WordPress globals and/or changing the
$wp_rewrite
global in some unexpected way. I also wouldn't rule out a WordPress Core bug somewhere.We have several reports of this issue now, so I'm opening this GitHub issue so that we can start collecting relevant data and attempt to reproduce the problem.