Title: function error-crashed styles
Last modified: August 31, 2016

---

# function error-crashed styles

 *  [dzunik91](https://wordpress.org/support/users/dzunik91/)
 * (@dzunik91)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/function-error-crashed-styles/)
 * Hi guys,
    I’m trying to solve this problem for almost 8 hours. I duplicated my
   wordpress page – (shop, woocommerce, storefront child theme) with plugin called“
   duplicator” from let’s say localhost1 to localhost2. After successful transfer(
   no error during the proces).
 * I am constantly geting errors:
 *  “Warning: call_user_func_array() expects parameter 1 to be a valid callback,
   no array or string given in X:\XXX_XXX\xampp\htdocs\wp-includes\plugin.php on
   line 235”
 * After long research I went trough my function.php file and started to coment-
   out one by one “add_XXX” functions and after I deleted this line:
    “add_filter(‘
   storefront_customizer_enabled’ , false );” My poroblem disappear but I lost some
   of my styles on page.
 * What should I do to make it right ?
 * Kind regards,
    Mikolaj

The topic ‘function error-crashed styles’ is closed to new replies.

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [style](https://wordpress.org/support/topic-tag/style/)

 * 0 replies
 * 1 participant
 * Last reply from: [dzunik91](https://wordpress.org/support/users/dzunik91/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/function-error-crashed-styles/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
