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!

23 Comments

  1. Krapp

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

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

  3. momsaodarot

    Great! Thank you 🙂

  4. Aman Das

    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

  5. ricardo

    where is this file??

  6. justus

    thanks a million

  7. Martin

    Thanks,work fine

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

  9. Alexandre

    OOOOh my god

    Thank you

  10. SOHEL talukder

    thx a lot

  11. Chetan Patel

    Really Great Solution thanks for best solution.

  12. Jesus

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

  13. Tashi

    Awesome solution. Thank you so much.

  14. 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 !

  15. prakash

    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

  16. sunil

    it doesnot work in my project

  17. bozidar

    Thanks!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.