{"id":5590874,"date":"2014-12-18T16:45:14","date_gmt":"2014-12-18T16:45:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-activating-plugin-16\/"},"modified":"2016-08-22T13:39:27","modified_gmt":"2016-08-22T13:39:27","slug":"error-activating-plugin-16","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-activating-plugin-16\/","title":{"rendered":"Error on activation"},"content":{"rendered":"<p>Hi there<br \/>\nAfter 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:<\/p>\n<p><code>Fatal error: Uncaught exception &#039;ReflectionException&#039; with message &#039;Class Cwd\\Utility does not have a constructor, so you cannot pass any constructor arguments&#039; 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-&gt;newInstanceArgs(Array) #1 \/home\/sitename\/www\/wp-content\/plugins\/simple-custom-website-data\/custom-website-data.php(26): CustomWebsiteData-&gt;autoLoadClasses() #2 \/home\/sitename\/www\/wp-content\/plugins\/simple-custom-website-data\/custom-website-data.php(251): CustomWebsiteData-&gt;__construct() #3 \/home\/sitename\/www\/wp-admin\/plugins.php(151): include(&#039;\/home\/sitename\/w...&#039;) #4 \/home\/sitename\/www\/wp-admin\/plugins.php(153): plugin_sandbox_scrape(&#039;simple-custom-w...&#039;) #5 {main} thrown in \/home\/sitename\/www\/wp-content\/plugins\/simple-custom-website-data\/custom-website-data.php on line 202<\/code><\/p>\n<p>May be i need to add or enable some php or apache module\/extension?<\/p>\n<p>thx in advance??<\/p>\n<p>https:\/\/wordpress.org\/plugins\/simple-custom-website-data\/<\/p>\n","protected":false},"template":"","class_list":["post-5590874","topic","type-topic","status-closed","hentry","topic-tag-fatal"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5590874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5590874\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5590874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}