For 7.x-1.2 and 7.x-2.x-dev:

On a local windows xampp dev machine, but not on a remote VDS, the following message appears six times, once for each submenu item:

Strict warning: Only variables should be passed by reference in theme_submenu_tree_teasers() (line 630 of C:\xampp\htdocs\public_html\_app-BcR\sites\all\modules\submenutree\submenutree.module).

CommentFileSizeAuthor
#2 quickfix-1329200-0.patch527 byteschi
#1 submenutree_error.jpg243.13 KBkevin-bcr

Comments

kevin-bcr’s picture

StatusFileSize
new243.13 KB

Note: For the interests of clarity, in the issue summary I had changed the path from what was really specified in the warning message, to a more typical xampp/htdocs/public_html. Actually, as you can see by the image I've included with this message, I have xampp pointing to a virtual directory in my windows "My Documents" folder. I have also used underscores in this path (to facilitate sorting). I thought more and decided this might be relevant to the issue.

So, the actual path in the error message is: Strict warning: Only variables should be passed by reference in theme_submenu_tree_teasers() (line 630 of C:\Users\Kevin\Documents\_app-BcResources\_app-BcR\sites\all\modules\submenutree\submenutree.module)

chi’s picture

Version: 7.x-1.2 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new527 bytes
dman’s picture

Status: Needs review » Reviewed & tested by the community

+1 perfect fix - exactly what I did locally before coming to report it here.
Patch applies clean.
Issue exists on current version and is fixed with this patch.

tobiasb’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#2186519: Fix drupal_render usage

Lets us focus in one issue #2186519: Fix drupal_render usage.