Title: Error Message !
Last modified: August 21, 2016

---

# Error Message !

 *  [kandil](https://wordpress.org/support/users/kandil/)
 * (@kandil)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-277/)
 * Hello
 * I got this error
 * Fatal error: Call-time pass-by-reference has been removed in /home/kandils/public_html/
   wp-content/themes/Publisher/monetize/add_post/functions_add.php on line 509
 * and this is the code of this line 509
 * $ou .= ‘<ul class=”category_list_sub”>’ . __show_category_form($cat, $selected_cats,
   $taxno_name,&$chkcounter) . ”;
 * How can I solve this ?

Viewing 1 replies (of 1 total)

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-277/#post-4444751)
 * Where did you download your theme from?
 * With PHP 5.4 (which your host is using now) the & ampersand symbol is not valid
   in a function call anymore and causes a fatal error. It has been deprecated since
   PHP 5.0 and until PHP 5.3 it would only generate a warning. In 5.4 it causes 
   a fatal error. You’ll need to contact the theme developer and tell him/her to
   make the theme PHP 5.4 compatible.
 * For now the best way to solve this would be by creating a [child theme](http://codex.wordpress.org/Child_Themes)
   and copying over the /monetize/add_post/functions_add.php folders and file to
   your child theme.
 * And change this (in your child theme’s functions_add.php):
 *     ```
       &$chkcounter
       ```
   
 * to this
 *     ```
       $chkcounter
       ```
   
 * Unfortunately child themes and subfolders don’t always work the way it should.
   We need to know where you downloaded the theme from.

Viewing 1 replies (of 1 total)

The topic ‘Error Message !’ is closed to new replies.

## Tags

 * [pass-by-reference](https://wordpress.org/support/topic-tag/pass-by-reference/)

 * 1 reply
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/error-message-277/#post-4444751)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
