[wp-hackers] Fatal error: Call to a member function get_page_permastruct()
pasquale.puzio at gmail.com
Fri Aug 12 12:27:06 UTC 2011
Of course, the current installed version is the last stable and
available version (3.2.1).
I've forgotten to report that the error is displayed only when I visit
the admin area without typing "www" in the URL. Otherwise typing "www"
the error isn't displayed.
The very strange thing is that after login the user is redirected to
the URL without "www" instead being redirected to the correct website
URL (that includes "www").
the correct URL is http://www.sandbox.mywebsite.com but the user is
redirected to http://sandbox.mywebsite.com after login.
Visiting the first URL the error isn't displayed but visiting the
second URL the error is displayed.
On Fri, Aug 12, 2011 at 12:42 PM, Dion Hulse (dd32)
<wordpress at dd32.id.au> wrote:
> Sounds like a plugin is calling get_page_link() before init has fired to me.
> Disable all your plugins (by renaming the plugins folder via FTP) and
> see if you can login then. If not, repeat it with your theme (rename
> your themes folder). That'll get you into the backend, but you'll have
> to work out which component the error is coming from, and get it
> I'm assuming this is on WordPress 3.2? (possibly after just upgrading?)
> On 12 August 2011 20:34, Pasquale Puzio <pasquale.puzio at gmail.com> wrote:
>> Hi all,
>> after login this error is displayed:
>> Fatal error: Call to a member function get_page_permastruct() on a
>> non-object in /home/cpiergio/public_html/sandbox/wp-includes/link-template.php
>> on line 276
>> What could be the cause?
>> Dott. Pasquale Puzio
>> info at pasqualepuzio.it
>> 340 5026359
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
Dott. Pasquale Puzio
info at pasqualepuzio.it
More information about the wp-hackers