• Resolved Matic Broz

    (@otterreviews)


    Hey man,
    I love the plugin, but I would like to disable all plugins to do some troubleshooting and I cannot.
    Upon deactivating your plugin, my webpages that previously showed related posts return the following:
    Fatal error: Uncaught Error: Call to undefined function get_related_posts_thumbnails() in /home/customer/www/photutorial.com/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(196) : eval()'d code:2 Stack trace: #0 /home/customer/www/photutorial.com/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(196): eval() #1 /home/customer/www/photutorial.com/public_html/wp-includes/class-wp-hook.php(287): GeneratePress_Hook->execute_hook('') #2 /home/customer/www/photutorial.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/customer/www/photutorial.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /home/customer/www/photutorial.com/public_html/wp-content/themes/generatepress/inc/structure/comments.php(194): do_action('generate_before...') #5 /home/customer/www/photutorial.com/public_html/wp-includes/class-wp-hook.php(287): generate_do_comments_template('single') #6 /home/customer/www/photutorial.com/public_html/wp-includes/class- in /home/customer/www/photutorial.com/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(196) : eval()'d code on line 2

    I realize that it says that the problem is related with “gp-premium”, which is my theme (Generate Press Premium), but it’s actually not. Some code of Related posts gets stuck somewhere and I cannot find it.
    Deleting the plugin, purging cache, etc. does not help.

    Any ideas?

    Cheers,
    Matic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Muhammad Arslan

    (@wparslan)

    Hello @otterreviews

    As deleting the plugin is not resolving the issue you must have used the function “get_related_posts_thumbnails();” in your theme within the posts loop, if that is the case this might be creating the problem as Related Posts Thumbnails are no longer there once you deactivate/delete the plugin and when the function is called from your theme, which is not defined, it creates a fatal error in your theme.

    WordPress Related Posts Thumbnails doesn’t need that function it shows the thumbnails by default so you don’t need the function.

Viewing 1 replies (of 1 total)
  • The topic ‘Deactivating not working properly’ is closed to new replies.