{"id":1231,"date":"2022-08-30T15:14:34","date_gmt":"2022-08-30T15:14:34","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/php-scripts-on-wamp-generating-errors-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:14:34","modified_gmt":"2022-08-30T15:14:34","slug":"php-scripts-on-wamp-generating-errors-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/php-scripts-on-wamp-generating-errors-collection-of-common-programming-errors\/","title":{"rendered":"PHP scripts on WAMP generating errors-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m getting below errors from my local WAMP environment<\/p>\n<pre><code>Unknown error: Non-static method SJB_System::shutdownFunction() should not be called statically in C:\\wamp\\www\\engjobs\\system\\core\\System.php on line 161\nUnknown error: Declaration of GoogleSocialPlugin::ifUserIsRegistered() should be compatible with SJB_SocialPlugin::ifUserIsRegistered($network, $profileSocialID = NULL) in C:\\wamp\\www\\engjobs\\system\\plugins\\google_integration_plugin\\google_integration_plugin.php on line 9\nUnknown error: Non-static method GoogleSocialPlugin::getNetwork() should not be called statically in C:\\wamp\\www\\engjobs\\system\\plugins\\google_integration_plugin\\index.php on line 7\nUnknown error: Non-static method SJB_SocialPlugin::getNetwork() should not be called statically in C:\\wamp\\www\\engjobs\\system\\plugins\\google_integration_plugin\\index.php on line 7\nUnknown error: Declaration of SJB_TwitterDetails::getDetails() should be compatible with SJB_ObjectDetails::getDetails() in C:\\wamp\\www\\engjobs\\system\\plugins\\twitter_integration_plugin\\Twitter\\TwitterDetails.php on line 156\n<\/code><\/pre>\n<p>I wasn&#8217;t getting this from production server but with WAMP I&#8217;m getting this.<\/p>\n<p>It&#8217;s PHP, custom framework called Smart Job Board which is built on top of Zend framework<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:11:11. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m getting below errors from my local WAMP environment Unknown error: Non-static method SJB_System::shutdownFunction() should not be called statically in C:\\wamp\\www\\engjobs\\system\\core\\System.php on line 161 Unknown error: Declaration of GoogleSocialPlugin::ifUserIsRegistered() should be compatible with SJB_SocialPlugin::ifUserIsRegistered($network, $profileSocialID = NULL) in C:\\wamp\\www\\engjobs\\system\\plugins\\google_integration_plugin\\google_integration_plugin.php on line 9 Unknown error: Non-static method GoogleSocialPlugin::getNetwork() should not be called statically in C:\\wamp\\www\\engjobs\\system\\plugins\\google_integration_plugin\\index.php on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8],"tags":[],"class_list":["post-1231","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-zend-framework"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1231"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1231\/revisions"}],"predecessor-version":[{"id":8913,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1231\/revisions\/8913"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}