Title: PHP Fatal error: __clone method
Last modified: September 19, 2016

---

# PHP Fatal error: __clone method

 *  [shapito27 For Bitrix](https://wordpress.org/support/users/shapito27/)
 * (@shapito27)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-__clone-method/)
 * Hi, i’m getting fatal error, it’s from error_log:
    [Mon Sep 19 14:34:46 2016][
   warn] [client 77.37.232.57] mod_fcgid: stderr: PHP Fatal error: __clone method
   called on non-object in /home/clients/…./html/wp-content/plugins/wptouch/core/
   class-wptouch-pro.php on line 2112
 * it follow code in class-wptouch-pro.php:
    `// Update our internal cache of the
   settings $this->settings_objects[ $domain ] = $settings;
 *  if ( $clone_it ) {
    $new_domain = clone $settings; $new_domain->domain = $domain;
   return $new_domain; } else { $settings->domain = $domain; return $settings; }`
    -  This topic was modified 9 years, 8 months ago by [shapito27 For Bitrix](https://wordpress.org/support/users/shapito27/).

The topic ‘PHP Fatal error: __clone method’ is closed to new replies.

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [shapito27 For Bitrix](https://wordpress.org/support/users/shapito27/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-__clone-method/)
 * Status: not resolved