Title: Error on activation
Last modified: August 22, 2016

---

# Error on activation

 *  Resolved [cancrexo](https://wordpress.org/support/users/cancrexo/)
 * (@cancrexo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-activating-plugin-16/)
 * Hi there
    After trying this awesome plugin on a local server, i tried to use 
   it on a remote server, but every time i try to activate it, it throws the same
   fatal error:
 * `Fatal error: Uncaught exception 'ReflectionException' with message 'Class Cwd\
   Utility does not have a constructor, so you cannot pass any constructor arguments'
   in /home/sitename/www/wp-content/plugins/simple-custom-website-data/custom-website-
   data.php:202 Stack trace: #0 /home/sitename/www/wp-content/plugins/simple-custom-
   website-data/custom-website-data.php(202): ReflectionClass->newInstanceArgs(Array)#
   1 /home/sitename/www/wp-content/plugins/simple-custom-website-data/custom-website-
   data.php(26): CustomWebsiteData->autoLoadClasses() #2 /home/sitename/www/wp-content/
   plugins/simple-custom-website-data/custom-website-data.php(251): CustomWebsiteData-
   >__construct() #3 /home/sitename/www/wp-admin/plugins.php(151): include('/home/
   sitename/w...') #4 /home/sitename/www/wp-admin/plugins.php(153): plugin_sandbox_scrape('
   simple-custom-w...') #5 {main} thrown in /home/sitename/www/wp-content/plugins/
   simple-custom-website-data/custom-website-data.php on line 202`
 * May be i need to add or enable some php or apache module/extension?
 * thx in advance??
 * [https://wordpress.org/plugins/simple-custom-website-data/](https://wordpress.org/plugins/simple-custom-website-data/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [DannyWeeks](https://wordpress.org/support/users/dannyweeks/)
 * (@dannyweeks)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-activating-plugin-16/#post-5591006)
 * Hey cancrexo,
 * I’m glad to hear you’ve found the plugin useful on your local server; shame about
   the remote server issue! I have had a look into it and it is a strange one as
   I haven’t come across this before but it is easily fixed. I will put a patch 
   out tomorrow morning which will address this issue and should avoid it entirely.
 * Thanks
    Danny
 *  Plugin Author [DannyWeeks](https://wordpress.org/support/users/dannyweeks/)
 * (@dannyweeks)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-activating-plugin-16/#post-5591113)
 * I have released version 2.0.3 which addresses this issue! Let me know if you 
   have any other problems!
 * Danny
 *  Thread Starter [cancrexo](https://wordpress.org/support/users/cancrexo/)
 * (@cancrexo)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-activating-plugin-16/#post-5591130)
 * Hi Danny!!
    Just updated and everything worked like a charm!!
 * Very appreciated!!
 * Cancrexo

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error on activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-custom-website-data_2d3e50.
   svg)
 * [Custom Website Data](https://wordpress.org/plugins/simple-custom-website-data/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-custom-website-data/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-custom-website-data/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-custom-website-data/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-custom-website-data/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-custom-website-data/reviews/)

## Tags

 * [fatal](https://wordpress.org/support/topic-tag/fatal/)

 * 3 replies
 * 2 participants
 * Last reply from: [cancrexo](https://wordpress.org/support/users/cancrexo/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-activating-plugin-16/#post-5591130)
 * Status: resolved