When a user try to see "My account" this message appears:
Notice: Trying to get property of non-object in traction_preprocess_page() (line 36 of /var/www/drupal_site/sites/all/themes/traction/template.php).
This problem in line 36 is happening because some times this object does not exist, so we need to check this after doing anything
Here is the original line:
if($node->type == 'article')
We need to change to this:
if(is_object($node) && $node->type == 'article')
The modified file is attached
Try to commit this, but I never did this here in drupal.org and don't know if the changes take effects or not.
Thanks!
Comments
Comment #1
kirankkaran CreditAttribution: kirankkaran commentedThe issue with "Trying to get the property of non-object in traction_preprocess_page()" has been updated.
This has been made available in our next release.
Comment #2
zyxware CreditAttribution: zyxware commentedHi rpablop,
Revised version of Traction is now availale!!!Please download and use the latest release .
Thanks,
Zyxware.