Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Module is successfully connected to Instagram account and I can create feeds and moderate them with no issues.
However, any attempt to display the block, either by adding the block a region in a theme, or by adding the block to a panel page, results in this error:
Fatal error: Call to a member function rowCount() on a non-object in .../sites/all/modules/custom/social_feed/social_feed.module on line 478
Trying to add the block to a panels page generates this addition information:
Call Stack
#TimeMemoryFunctionLocation
10.0000294960{main}( )../index.php:0
20.00741940672menu_execute_active_handler( )../index.php:21
30.00741941896call_user_func_array
( )../menu.inc:517
40.00741943088panels_ajax_router( )../menu.inc:517
50.02933835368call_user_func_array
( )../panels.module:1394
60.02933836632panels_renderer_editor->ajax_add_pane( )../panels.module:1394
70.03714033584panels_renderer_editor->command_add_pane( )../panels_renderer_editor.class.php:698
80.03714034328panels_renderer_editor->render_pane( )../panels_renderer_editor.class.php:1455
90.04164097448ctools_content_admin_info( )../panels_renderer_editor.class.php:128
100.04164097632ctools_block_content_type_admin_info( )../content.inc:459
110.04164097848module_invoke( )../block.inc:294
120.04164098376call_user_func_array
( )../module.inc:866
130.04164098752social_feed_block_view( )../module.inc:866
140.04454104632social_feed_contents( )../social_feed.module:431
Is there something else I should be doing in order to get the block to display?
Comments
Comment #1
Frumpus CreditAttribution: Frumpus commentedI have discovered that I should have been adding the custom pane to the page and not the block. So I have a workaround. Still, it seems like the block should not be available if it does not work. This may be tied to the 'restore block functionality' issue previously reported.
Comment #2
Frumpus CreditAttribution: Frumpus commentedComment #3
dysproseum CreditAttribution: dysproseum commentedBlock functionality has been restored in the latest commit as part of another issue.
Comment #4
dysproseum CreditAttribution: dysproseum commented