• Hi Alexander!

    Thanks a lot for your effort on building this plugin and giving it for free.
    I’ve got this error after trying to upload the image in PNG and 32x32px:

    “Fatal error: Uncaught Error: Call to undefined method WP_Error::get_size() in /usr/home/mydomain.com/web/wp-content/plugins/mouse-cursor-customizer/cursor-customizer.php:222 Stack trace: #0 /usr/home/mydomain.com/web/wp-content/plugins/mouse-cursor-customizer/cursor-customizer.php(165): cursor_custom_img_new_create(‘https://www.mydo…’, ‘cursor_file1’) #1 /usr/home/mydomain.com/web/wp-includes/class-wp-hook.php(290): cursor_custom_sanitize_callback_set(Array) #2 /usr/home/mydomain.com/web/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #3 /usr/home/mydomain.com/web/wp-includes/formatting.php(4823): apply_filters(‘sanitize_option…’, Array, ‘cursor_details’, Array) #4 /usr/home/mydomain.com/web/wp-includes/option.php(319): sanitize_option(‘cursor_details’, Array) #5 /usr/home/mydomain.com/web/wp-admin/options.php(285): update_option(‘cursor_details’, Array) #6 {main} thrown in /usr/home/mydomain.com/web/wp-content/plugins/mouse-cursor-customizer/cursor-customizer.php on line 222

    There has been a critical error on your website. Please check your site admin email inbox for instructions.”

    I hope you find out what might be the reason why this happens.
    Thanks again, have a nice day!

    • This topic was modified 4 years, 8 months ago by matutino.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AlexKole

    (@alexanderkoledov)

    Hi @matutino!
    Sorry for the slow reaction and the lack of the expected result from the plugin. I see that this error was caused by the inability to process the image. Try using a different format or different image and see if this problem persists. Check that your current version of WP must be newer than 4.8. Have a nice day)

    Plugin Author AlexKole

    (@alexanderkoledov)

    and of course I will take this into account in the next version. At least so that this does not cause an error.
    Thanks for the feedback)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tried it and got a fatal error’ is closed to new replies.