• Resolved George J

    (@georgejipa)


    Hello,

    
    PHP Fatal error:  Uncaught Error: Class 'SimpleTags_Client_RelatedPosts' not found in [redacted]/wp-content/plugins/simple-tags/inc/related-posts-functions.php:317
    
    PHP Fatal error:  Uncaught Error: Class 'SimpleTags_Client_RelatedPosts' not found in [redacted]/wp-content/plugins/simple-tags/inc/related-posts-functions.php:366
    

    Maybe you should check if that class exists before using it because you conditionally require it, as far as I see.

    
    // Call related posts ?
    if ( (int) SimpleTags_Plugin::get_option_value( 'active_related_posts' ) == 1 ) {
     require( STAGS_DIR . '/inc/class.client.related_posts.php' );
     new SimpleTags_Client_RelatedPosts();
    }
    

    Best regards,
    George

    • This topic was modified 4 years, 7 months ago by George J.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Class ‘SimpleTags_Client_RelatedPosts’ not found’ is closed to new replies.