• Resolved last piece

    (@last-piece)


    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 44 of the file /usr/www/users/crzptm/wp-content/plugins/facebook-pagelike-widget/fb_class.php. Error message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /usr/www/users/crzptm/wp-content/plugins/facebook-pagelike-widget/fb_class.php:44
    
    Stack trace:
    
    #0 /usr/www/users/crzptm/wp-content/plugins/facebook-pagelike-widget/fb_class.php(44): implode(',', 'timeline')
    
    #1 /usr/www/users/crzptm/wp-includes/class-wp-widget.php(393): facebook_widget->widget(Array, Array)
    
    #2 /usr/www/users/crzptm/wp-includes/widgets.php(2022): WP_Widget->display_callback(Array, Array)
    
    #3 /usr/www/users/crzptm/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(697): wp_render_widget('fbw_id-2', 'sidebar-1')
    
    #4 /usr/www/users/crzptm/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php(154): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request))
    
    #5 /usr/www/users/crzptm/wp-includes/rest-api/class-wp-rest-server.php(1143): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request))
    
    #6 /usr/www/users/crzptm/wp-includes/rest-api/class-wp-rest-server.php(990): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/widgets', Array, NULL)
    
    #7 /usr/www/users/crzptm/wp-includes/rest-api.php(519): WP_REST_Server->dispatch(Object(WP_REST_Request))
    
    #8 /usr/www/users/crzptm/wp-includes/rest-api.php(2868): rest_do_request(Object(WP_REST_Request))
    
    #9 [internal function]: rest_preload_api_request(Array, '/wp/v2/widgets?...')
    
    #10 /usr/www/users/crzptm/wp-includes/block-editor.php(601): array_reduce(Array, 'rest_preload_ap...', Array)
    
    #11 /usr/www/users/crzptm/wp-admin/widgets-form-blocks.php(26): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context))
    
    #12 /usr/www/users/crzptm/wp-admin/widgets.php(32): require('/usr/www/users/...')
    
    #13 {main}
    
    thrown
Viewing 1 replies (of 1 total)
  • Plugin Author Milap

    (@milap)

    Hi @last-piece,

    I have updated plugin with few improvements and warning fixes. Most of the times, it should work without any issues. Kindly try below steps,

    1. Remove widget if added
    2. Inactive & delete my plugin
    3. Install plugin again
    4. Add and configure widget again

    Note: I have tested my plugin with WordPress 6.1.1 and PHP Version 8.1.12.

    Best Regards, Milap

Viewing 1 replies (of 1 total)
  • The topic ‘GOT ISSUE ON PLUGIN’ is closed to new replies.