Its not just the error in title I get all this
Notice: Undefined index: theme path in theme() (line 789 of /var/www/translate.flossk.org/includes/theme.inc).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 817 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Warning: Attempt to assign property of non-object in fbconnect_theme_user_picture_override() (line 818 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Warning: Attempt to assign property of non-object in fbconnect_theme_user_picture_override() (line 819 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 822 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 823 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Undefined index: theme path in theme() (line 789 of /var/www/translate.flossk.org/includes/theme.inc).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 817 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Warning: Attempt to assign property of non-object in fbconnect_theme_user_picture_override() (line 818 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Warning: Attempt to assign property of non-object in fbconnect_theme_user_picture_override() (line 819 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 822 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 823 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Undefined index: theme path in theme() (line 789 of /var/www/translate.flossk.org/includes/theme.inc).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 817 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Warning: Attempt to assign property of non-object in fbconnect_theme_user_picture_override() (line 818 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Warning: Attempt to assign property of non-object in fbconnect_theme_user_picture_override() (line 819 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 822 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Notice: Trying to get property of non-object in fbconnect_theme_user_picture_override() (line 823 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect.module).
Here is the application http://apps.facebook.com/flossktranslator/
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | theme-path-and-account-array-fix-1144326-4.patch | 862 bytes | jagermonster |
Comments
Comment #1
altinukshini commentedWhen I post something new :
Notice: Undefined index: fbconnect_feed in fbconnect_stream_publish_node_insert() (line 43 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect_stream_publish/fbconnect_stream_publish.module).
any ideas?
Comment #2
altinukshini commentedI'm also having this
Notice: Use of undefined constant BLOCK_NO_CACHE - assumed 'BLOCK_NO_CACHE' in fbconnect_invite_block_info() (line 66 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect_invite/fbconnect_invite.module).
Notice: Use of undefined constant BLOCK_NO_CACHE - assumed 'BLOCK_NO_CACHE' in fbconnect_invite_block_info() (line 66 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect_invite/fbconnect_invite.module).
Comment #3
jagermonster commentedto fix this there are 2 issues to address both in fbconnect.module
1. ) The fbconnect_theme_registry_alter(&$theme_registry) does not specify a theme path
--> Change the array to the following
$theme_registry['user_picture'] = array(
'arguments' => array('account' => NULL),
'function' => 'fbconnect_theme_user_picture_override',
'preprocess functions' => array(),
'theme path' => drupal_get_path('module','fbconnect'),
);
2. ) The variable $account sent to function fbconnect_theme_user_picture_override($account)
--> change this to fbconnect_theme_user_picture_override($variables)
and add $account = $variables['account'];
this should take care of the error messages, will see if i get a chance to create a patch tomorrow.
Comment #4
jagermonster commentedi have created a patch to do the fix i mentioned at #3
Comment #5
jagermonster commentedchanged status to needs review
Comment #6
outliner commentedI had the same problem, i did what you said. it fixed the errors, but I am getting this error now
Notice: Undefined index: theme path in theme() (line 802 of /home/'username'/public_html/demos/drupal7/includes/theme.inc)..
Any ideas?
Comment #7
outliner commentedQuick update.
error fixed with DRUPAL_NO_CACHE... check link below
http://drupal.org/node/1144338
\
Thank you :)
Comment #8
marriswetha commentedWhen I posting a node or something new :(drupal 7)
Getting an error
Notice: Undefined index: fbconnect_feed in fbconnect_stream_publish_node_insert() (line 43 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect_stream_publish/fbconnect_stream_publish.module).
any ideas?
Comment #9
marriswetha commentedWhen I posting a node or something new :(drupal 7)
Getting an error
Notice: Undefined index: fbconnect_feed in fbconnect_stream_publish_node_insert() (line 43 of /var/www/translate.flossk.org/sites/all/modules/fbconnect/fbconnect_stream_publish/fbconnect_stream_publish.module).
any ideas?
Comment #10
ifeelgood commented@#9
In file fbconnect/fbconnect_stream_publish/fbconnect_stream_publish.module
On function fbconnect_stream_publish_node_insert
Change the line from
if ($_SESSION['fbconnect_feed']['submit'] === TRUE) {
To
if (isset($_SESSION['fbconnect_feed']) && isset($_SESSION['fbconnect_feed']['submit']) && $_SESSION['fbconnect_feed']['submit'] === TRUE) {
Comment #11
Feet commentedThat removes the error for me but I can't publish nodes to FB. (But can with comments).
I don't have any errors but don't have the fb popup (but do with comments)
Anyone else found this?
Comment #12
jcisio commentedFixed this bug. About the node publish problem, I'll look at that (in another issue).
Comment #13
jcisio commentedComment #14
Feet commentedSweet, cheers jcisio. Have you fixed that in beta3?
And is that the suggestion in #4?
Sorry for being dense but wasn't sure which node publish problem you'll look at in another issue, (is it all one and the same?)
I'm happy to start that issue thread and review/test but I'm not quite up with the game yet.
Comment #15
Feet commentedAnswering myself (for the sake of closing open q's)
I see that the solution in #9 has been committed to dev.