test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • rikaryo Friend
    #193649

    Error 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 - Inventtive

    Nazario A Friend
    #518212

    @rikaryo,

    You 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 Friend
    #518313

    Thanks, 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 - Inventtive

    myuption Friend
    #577032

    Thanks, I was just searching for this error.:)

    myuption Friend
    #643339

    Thanks, I was just searching for this error.:)

    myuption Friend
    #741991

    Thanks, I was just searching for this error.:)

Viewing 6 posts - 1 through 6 (of 6 total)

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