WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to a member function get_extra_permastruct() on a non-object i (7 posts)

  1. arian1234
    Member
    Posted 1 year ago #

    Fatal error: Call to a member function get_extra_permastruct() on a non-object in /home/tanlaci/public_html/albpoker.com/wp-includes/taxonomy.php on line 3009

  2. arian1234
    Member
    Posted 1 year ago #

    how can i fix this

  3. Rajesh Soni
    Member
    Posted 1 year ago #

    Try uploading a fresh copy of the WordPress files (excluding the folder wp-content).

  4. arian1234
    Member
    Posted 1 year ago #

    in my C panel ?

  5. Rajesh Soni
    Member
    Posted 1 year ago #

    From your CPanel or FTP file manager, upload and replace WordPress file with sub-folders excluding the wp-content folder.

  6. webdotcom
    Member
    Posted 10 months ago #

    Was there a solution found for this? I'm experiencing the same error when calling:

    $args = array(						'number'                    => 45,
    						'echo'                      => false,
    						'format'                    => 'array',
    						'taxonomy'                  => 'category',
    );
    $categories=wp_tag_cloud($args);
  7. Gregory Karpinsky
    Member
    Posted 6 months ago #

    A possible scenario: get_extra_permastruct, get_post_permalink or get_permalink called too early.
    For example, it was called on plugins_loaded hook.

    Calling it in init hook, or later (wp_loaded) should solve the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.