title: Php Code showing Following error in the webpage
body: <p>am using joomla .. , 
  by runnig the joomla it showing  the following error in the link part 
  and the main error is about the parameter is expecting to a reference.
  if i change it , it will not show any links</p>
  
  <blockquote>
    <p>Warning: Parameter 2 to modChrome_artblock() expected to be a
    reference, value given in
    D:\xampp\htdocs\Site\templates\a_2\html\modules.php on
    line 36</p>
    
    <p>Warning: Parameter 3 to modChrome_artblock() expected to be a
    reference, value given in
    D:\xampp\htdocs\site\templates\a_2\html\modules.php on
    line 36</p>
  </blockquote>
  
  <p>and the php code on this error is </p>
  
  <pre><code> - &lt;?php
             defined('_JEXEC') or die;
  
             if (!defined('_ARTX_FUNCTIONS'))
               require_once dirname(__FILE__) . str_replace('/', DIRECTORY_SEPARATOR, '/../functions.php');
  
             function modChrome_artstyle($module, &amp;$params, &amp;$attribs)
             {
               $style = isset($attribs['artstyle']) ? $attribs['artstyle'] : 'art-nostyle';
               $styles = array(
                 'art-nostyle' =&gt; 'modChrome_artnostyle',
                 'art-block' =&gt; 'modChrome_artblock',
                 'art-article' =&gt; 'modChrome_artarticle',
                 'art-vmenu' =&gt; 'modChrome_artvmenu'
               );
               // moduleclass_sfx support:
               //  '' or 'suffix'   - the default module style: custom suffix will not be added to the module tag
               //                     but will be added to the module elements.
               //  ' suffix'        - adds suffix to the module as well as to the module elements.
               //  'art-...'        - overwrites the default module style.
               //  'suffix art-...' - overwrites the default style and adds suffix to the module and
               //                     to its elements, does not add art-... to the module elements.
  
               $classes = explode(' ', rtrim($params-&gt;get('moduleclass_sfx')));
               $keys = array_keys($styles);
               $art = array();
               foreach ($classes as $key =&gt; $class) {
                 if (in_array($class, $keys)) {
                   $art[] = $class;
                   $classes[$key] = ' ';
                 }
               }
               $classes = str_replace('  ', ' ', rtrim(implode(' ', $classes)));
               $style = count($art) ? array_pop($art) : $style;
               $params-&gt;set('moduleclass_sfx', $classes);
  
  
  &gt;  call_user_func($styles[$style], $module, $params, $attribs);
  
             }
  
             function modChrome_artnostyle($module, &amp;$params, &amp;$attribs)
             {
             if (!empty ($module-&gt;content)) : ?&gt;
             &lt;!-- begin nostyle --&gt;
             &lt;div class="art-nostyle&lt;?php echo $params-&gt;get('moduleclass_sfx'); ?&gt;"&gt;
             &lt;?php if ($module-&gt;showtitle != 0) : ?&gt;
             &lt;h3&gt;&lt;?php echo $module-&gt;title; ?&gt;&lt;/h3&gt;
             &lt;?php endif; ?&gt;
             &lt;!-- begin nostyle content --&gt;
             &lt;?php echo $module-&gt;content; ?&gt;
             &lt;!-- end nostyle content --&gt;
             &lt;/div&gt;
             &lt;!-- end nostyle --&gt;
             &lt;?php endif;
             }
  
             function modChrome_artblock($module, &amp;$params, &amp;$attribs)
             {
               if (!empty ($module-&gt;content))
                 echo artxBlock(($module-&gt;showtitle != 0) ? $module-&gt;title : '', $module-&gt;content,
                   $params-&gt;get('moduleclass_sfx'));
             }
  
             function modChrome_artvmenu($module, &amp;$params, &amp;$attribs)
             {
               if (!empty ($module-&gt;content)) {
                 if (function_exists('artxVMenuBlock'))
                   echo artxVMenuBlock(($module-&gt;showtitle != 0) ? $module-&gt;title : '', $module-&gt;content,
                     $params-&gt;get('moduleclass_sfx'));
                 else
                   echo artxBlock(($module-&gt;showtitle != 0) ? $module-&gt;title : '', $module-&gt;content,
                     $params-&gt;get('moduleclass_sfx'));
               }
             }
  
             function modChrome_artarticle($module, &amp;$params, &amp;$attribs)
             {
               if (!empty ($module-&gt;content)) {
                 $data = array('classes' =&gt; $params-&gt;get('moduleclass_sfx'), 'content' =&gt; $module-&gt;content);
                 if ($module-&gt;showtitle != 0)
                   $data['header-text'] = $module-&gt;title;
                 echo artxPost($data);
               }
             }
  </code></pre>
  
  <p>it showing the error</p>
  
  <blockquote>
    <p>call_user_func($styles[$style], $module, $params, $attribs);</p>
  </blockquote>