-
AuthorPosts
-
rikaryo Friend
rikaryo
- Join date:
- June 2006
- Posts:
- 127
- Downloads:
- 143
- Uploads:
- 59
- Thanks:
- 107
- Thanked:
- 10 times in 4 posts
January 10, 2014 at 2:17 pm #193649Error with JaBulletin module in ambiete local development work normal but after staying, the error appeared.
Strict Standards: Only variables Should be assigned by reference in / home/xxxxxxx/public_html/templates/ja_nex_t3/html/mod_jabulletin/default.php on line 16
My Server: Nginx 1.4.4, PHP 5.4 and MySQL 5.1
Rikáryo Mourão
CEO - HeróiNerd - InventtiveNazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
January 13, 2014 at 7:35 am #518212You should remove the “&” symbol, so that line 16 (in file: /templates/ja_nex_t3/html/mod_jabulletin/default.php) will look like this:
$doc =& JFactory::getDocument();
From php’s manual on assignment by reference:
As of PHP 5, the new operator returns a reference automatically, so assigning the result of new by reference results in an E_DEPRECATED message in PHP 5.3 and later, and an E_STRICT message in earlier versions.
Hope that helps
rikaryo Friendrikaryo
- Join date:
- June 2006
- Posts:
- 127
- Downloads:
- 143
- Uploads:
- 59
- Thanks:
- 107
- Thanked:
- 10 times in 4 posts
January 13, 2014 at 8:25 pm #518313Thanks, after I changed the amount of items displayed by this module to couple the error is gone, but thanks for the help, I made the change and is working normal.
thank you
Rikáryo Mourão
CEO - HeróiNerd - Inventtive1 user says Thank You to rikaryo for this useful post
myuption Friendmyuption
- Join date:
- November 2006
- Posts:
- 161
- Downloads:
- 20
- Uploads:
- 23
- Thanks:
- 58
- Thanked:
- 6 times in 1 posts
myuption Friendmyuption
- Join date:
- November 2006
- Posts:
- 161
- Downloads:
- 20
- Uploads:
- 23
- Thanks:
- 58
- Thanked:
- 6 times in 1 posts
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by myuption 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum