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!

Comments

23 responses to “Warning: Parameter 1 to JHTMLGrid::access() expected to be a reference…”

  1. Ratan Chandra Prodhan Avatar

    Dear Dada,

    Hare Krishna,

    Done!
    Thanks for your solution.

    Regards-
    Ratan

  2. Ratan Chandra Prodhan Avatar

    But online poll not show now

  3. Krapp Avatar
    Krapp

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

  4. khan Avatar
    khan

    God bless you

  5. greenfajr Avatar

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

  6. Developa Wilson Mwiti Avatar

    Simple and Clear ! Thats it Kudos.

  7. momsaodarot Avatar
    momsaodarot

    Great! Thank you 🙂

  8. Aman Das Avatar
    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

  9. ricardo Avatar
    ricardo

    where is this file??

  10. justus Avatar
    justus

    thanks a million

  11. Martin Avatar
    Martin

    Thanks,work fine

  12. Navin Avatar

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

  13. Alexandre Avatar
    Alexandre

    OOOOh my god

    Thank you

  14. SOHEL talukder Avatar
    SOHEL talukder

    thx a lot

  15. Chetan Patel Avatar
    Chetan Patel

    Really Great Solution thanks for best solution.

  16. Jesus Avatar
    Jesus

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

  17. Tashi Avatar
    Tashi

    Awesome solution. Thank you so much.

  18. A Naser Ahmad Avatar

    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 !

  19. prakash Avatar
    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

  20. sunil Avatar
    sunil

    it doesnot work in my project

  21. bozidar Avatar
    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.