Closed (duplicate)
Project:
Web Widgets
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2012 at 02:17 UTC
Updated:
23 Oct 2012 at 10:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
mgiffordPossibly related but I get a "Fatal error: Cannot use object of type view as array in /DRUPAL7/includes/theme.inc on line 963" when I navigate to the path that I have defined for the widget.
Comment #2
HeathN commentedI get the same error.
Comment #3
ngreenup commentedI also get the same
Comment #4
dlumberg commentedI changed starting on line 57 of web_widgets_plugin_display_web_widgets.inc
from
to
Comment #5
askibinski commentedthat worked!
Comment #6
floydm commentedThis fixed the views integration for me too. I needed to apply it again when I upgraded to the alpha1 release.
I've attached a patch.
Comment #7
floydm commentedSorry, new patch without junk about an image that got included in the same commit.
(My apologies, I'm new at submitting patches).
Comment #8
jacobpov commentedStill getting the following errors not on the widget display but the page itself when I attach it to the page.
Warning: Illegal string offset 'theme_hook_suggestions' in theme() (line 1099 of /var/www/includes/theme.inc).
Warning: Illegal string offset 'zebra' in template_preprocess() (line 2320 of /var/www/includes/theme.inc).
Warning: Illegal string offset 'id' in template_preprocess() (line 2321 of /var/www/includes/theme.inc).
Warning: Illegal string offset 'directory' in template_preprocess() (line 2324 of /var/www/includes/theme.inc).
Warning: Illegal string offset 'classes_array' in template_preprocess() (line 2327 of /var/www/includes/theme.inc).
Notice: Array to string conversion in template_preprocess() (line 2327 of /var/www/includes/theme.inc).
this is from the log
and nothing is displayed just a 500 fatal error with a blank page
Comment #9
FranciscoLuz commentedThe patch on #7 fixed it for me, thank you Floydm.
PS: I also had to apply this patch here #1622870: Strict warning: Declaration of web_widgets_plugin_display_web_widgets::options_submit()
Comment #10
modctek commentedI couldn't get this patch to apply, it was failing with the following message:
Perhaps because I don't have the "contrib" sub directory in my hierarchy? Applying the changes manually seems to have addressed the issue.
Comment #11
clemens.tolboomThis is actually a duplicate off the older #1469428: associative array for theme functions one.
I close this as this has more noise ... sorry @Floydm
Other duplicates are:
#1600536: Fatal error: Cannot use object of type view as array in /includes/theme.inc on line
#1741090: Fatal error: Cannot use object of type view as array in /includes/theme.inc on line
Comment #12
clemens.tolboom