• Resolved nicemodernwebsites

    (@nicemodernwebsites)


    I installed the plugin on localhost, staging, and a live site. It is fine on the staging and live site, however the localhost site (after working for a few minutes) gives only this error on the Tools page:

    Fatal error: Uncaught Error: Call to undefined function imagetypes() in C:\xampp\htdocs\ricochet\wp-includes\class-wp-image-editor-gd.php:66 Stack trace: #0 C:\xampp\htdocs\ricochet\wp-content\plugins\wordpress-popular-posts\src\Admin\screen-tools.php(9): WP_Image_Editor_GD::supports_mime_type('image/webp') #1 C:\xampp\htdocs\ricochet\wp-content\plugins\wordpress-popular-posts\src\Admin\admin-page.php(139): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\ricochet\wp-content\plugins\wordpress-popular-posts\src\Admin\Admin.php(484): include_once('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\ricochet\wp-includes\class-wp-hook.php(341): WordPressPopularPosts\Admin\Admin->display_plugin_admin_page('') #4 C:\xampp\htdocs\ricochet\wp-includes\class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #5 C:\xampp\htdocs\ricochet\wp-includes\plugin.php(522): WP_Hook->do_action(Array) #6 C:\xampp\htdocs\ricochet\wp-admin\admin.php(264): do_action('settings_page_w...') #7 C:\xampp\htdocs\ricochet\wp-admin\options-general.php(10): require_once('C:\\xampp\\htdocs...') #8 {main} thrown in C:\xampp\htdocs\ricochet\wp-includes\class-wp-image-editor-gd.php on line 66

    This does not occur on the stats page; that page loads fine.

    I call the “wpp_get_mostpopular()” function on front-page.php, and it works fine: it displays the popular posts as called.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.