• Resolved billsmithem

    (@billsmithem)


    I’m getting a fatal PHP error on the two most recent versions.

    PHP Fatal error occurred: Uncaught Error: Call to undefined method AIOSEO\Plugin\Common\Schema\Schema::getDefaultPostTypeGraph() in /home4/brenewed/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Post.php:511 Stack trace: #0 /home4/brenewed/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Post.php(135): AIOSEO\Plugin\Common\Models\Post::getDefaultSchemaOptions() #1 /home4/brenewed/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Post.php(97): AIOSEO\Plugin\Common\Models\Post::setDynamicDefaults(Object(AIOSEO\Plugin\Common\Models\Post), 109518) #2 /home4/brenewed/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Sitemap/Ping.php(53): AIOSEO\Plugin\Common\Models\Post::getPost(109518) #3 /home4/brenewed/public_html/wp-includes/class-wp-hook.php(309): AIOSEO\Plugin\Common\Sitemap\Ping->schedule(109518, Object(WP_Post)) #4 /home4/brenewed/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #5 /home4/brenewed/public_html/wp-includes/plug in /home4/brenewed/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Models/Post.php on line 511.

    Any idea why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shivam Tyagi

    (@shivamtyagi)

    Hi @billsmithem,

    Something probably went wrong when you installed AIOSEO or updated it to the latest version. This happens occasionally. You should be able to fix this by simply removing and reinstalling the plugin from ww.wp.xz.cn.

    I’d also recommend clearing all the cache on your site and server once you’ve installed the plugin again.

    Thread Starter billsmithem

    (@billsmithem)

    That seems to have corrected the problem. Thanks.

    • This reply was modified 3 years, 7 months ago by billsmithem.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal Error’ is closed to new replies.