Resolving Errors in Joomla Administrator

If you find an error


Parameter 4 to JHTMLMenu::treerecurse() expected to be a reference, value given in libraries/joomla/html/html.php on line 87


on your Joomla administrator, you don't need to worry if it's on your Joomla following steps - steps to overcome this:


1.  Please login to cpanel namadomain.com/cpanel after that select the file manager menu


2. The second step is to find the public_html/libraries/joomla/html/html.php file.


after that edit the html.php file


if (is_callable( array( $className, $func ) )) 

               { 

–                      $args = func_get_args(); 

–                      array_shift( $args ); 

+                      $temp = func_get_args(); 

+                      array_shift( $temp ); 

+                      $args = array(); 

+                      foreach ($temp as $k => $v) { 

+                          $args[] = &$temp[$k]; 

+                      } 

                       return call_user_func_array( array( $className, $func ), $args ); 

               } 

               else 


Description:


(+) Add to new scripts


(-) Hapus file script lama


3. After changing according to the above conditions, please click save

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.