• Resolved boulik

    (@boulik)


    Hello

    I’m getting an error after saving a modified page. Here is stack:

    Detaily chyby
    =============
    Chyba typu E_ERROR bola spôsobená v riadku 181 súboru *****/wp-content/plugins/foogallery/includes/thumbs/default/class-foogallery-thumb-engine-default.php. 
    Chybové hlásenie: Uncaught ArgumentCountError: Too few arguments to function FooGallery_Thumb_Engine_Default::delete_cache_folder_for_attachment(), 
    1 passed in *****/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in *****/wp-content/plugins/foogallery/includes/thumbs/default/class-foogallery-thumb-engine-default.php:181
    Stack trace:
    #0 *****/wp-includes/class-wp-hook.php(288): FooGallery_Thumb_Engine_Default->delete_cache_folder_for_attachment(2692)
    #1 *****/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array)
    #2 *****/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 *****/wp-i

    PHP 7.3, wordpress 5.3.6

    thanks for help.

    • This topic was modified 1 month, 1 week ago by boulik.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bradvin

    (@bradvin)

    hi @boulik

    This is due to a change in WP core 5.5 where a new parameter was introduced when deleting a post. I am not sure why that is firing when you are saving a post, but there could be some other process that is deleting things.

    Please can you test this version to see if it fixes your problem : https://we.tl/t-blBwlVZzj6

    We will not be releasing this version, as we are busy testing a major update, which already includes this fix, later in the month.

    Thread Starter boulik

    (@boulik)

    Hi @bradvin.

    Thank you very much for quick response.

    I applied a new version of the plugin and now I’m now in observing mode, because not every saving of the page caused an error. So far, it is without error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.