Warning: Parameter 1 to JHTMLGrid::access() expected to be a reference…

Joomla Problem: Warning: Parameter 1 to JHTMLGrid::access() expected to be a reference, value given in… on line 87

Open html.php file:

Find:

$args = func_get_args();
array_shift( $args );

Change to:

$temp = func_get_args();
array_shift( $temp );
$args = array();
foreach ($temp as $k => $v) {
$args[] = &$temp[$k];
}

CHEERS!

922 total views, 4 views today

23 Responses

Page 1 of 1
  1. Ratan Chandra Prodhan
    Ratan Chandra Prodhan November 16, 2011 at 4:33 PM |

    Dear Dada,

    Hare Krishna,

    Done!
    Thanks for your solution.

    Regards-
    Ratan

  2. Ratan Chandra Prodhan
    Ratan Chandra Prodhan November 16, 2011 at 4:41 PM |

    But online poll not show now

  3. Krapp
    Krapp February 24, 2012 at 9:28 PM |

    Great!
    Good solution. Thank you very much!!!

  4. khan
    khan April 9, 2012 at 9:40 PM |

    God bless you

  5. greenfajr
    greenfajr June 13, 2012 at 12:51 AM |

    usefull tutorial, you save my work…thank you very much…

  6. Developa Wilson Mwiti
    Developa Wilson Mwiti June 20, 2012 at 3:56 PM |

    Simple and Clear ! Thats it Kudos.

  7. momsaodarot
    momsaodarot June 30, 2012 at 4:11 PM |

    Great! Thank you :)

  8. Aman Das
    Aman Das July 29, 2012 at 6:26 PM |

    Hi

    Please help resolving the following error.

    Parameter 2 to mainbody() expected to be a reference, value given in /home/bkmh19/public_html/homesurveillance.in/templates/rt_affinity_j15/rt_sectionrows.php on line 634

  9. ricardo
    ricardo July 31, 2012 at 2:27 AM |

    where is this file??

  10. justus
    justus August 17, 2012 at 12:08 AM |

    thanks a million

  11. Martin
    Martin August 22, 2012 at 12:25 AM |

    Thanks,work fine

  12. Martin
    Martin August 23, 2012 at 3:02 PM |

    Thanks!

  13. Navin
    Navin September 4, 2012 at 6:34 PM |

    nice tutorial. waiting for some more tutorial on joomla and wordpress.

  14. Alexandre
    Alexandre September 13, 2012 at 6:54 AM |

    OOOOh my god

    Thank you

  15. ohenryjoe
    ohenryjoe October 10, 2012 at 12:26 PM |

    Brilliant!

  16. SOHEL talukder
    SOHEL talukder October 26, 2012 at 11:30 AM |

    thx a lot

  17. Chetan Patel
    Chetan Patel October 30, 2012 at 4:28 PM |

    Really Great Solution thanks for best solution.

  18. Jesus
    Jesus November 7, 2012 at 3:01 AM |

    Hi! I cannot find this file. Can you help me providing me the path? Thanks in advance!

  19. Tashi
    Tashi November 10, 2012 at 1:29 PM |

    Awesome solution. Thank you so much.

  20. A Naser Ahmad
    A Naser Ahmad November 15, 2012 at 12:45 AM |

    Fantastic! works like a charm, those whoever not found html.php, look for it in /public_html/libraries/joomla/html. By the way don’t forget to backup this file before modifying !

  21. prakash
    prakash November 21, 2012 at 1:29 PM |

    Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in /home/pigeonin/public_html/libraries/joomla/cache/handler/callback.php on line 99

  22. sunil
    sunil November 23, 2012 at 12:46 PM |

    it doesnot work in my project

  23. bozidar
    bozidar December 17, 2012 at 4:37 PM |

    Thanks!!!!

Leave a Reply