{"id":1640,"date":"2022-08-30T15:18:13","date_gmt":"2022-08-30T15:18:13","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/problem-about-autoload-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:18:13","modified_gmt":"2022-08-30T15:18:13","slug":"problem-about-autoload-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-autoload-collection-of-common-programming-errors\/","title":{"rendered":"problem about autoload-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/40de750233b3ce8268f235ba0b6a489b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nteresko<br \/>\nphp codeigniter doctrine2 doctrine autoload<br \/>\nI got &#8220;Message: class_parents(): Class Comment does not exist and could not be loaded&#8221; while trying to use Doctrine models in CodeIgniter controller.Here is full stacktrace Fatal error: Uncaught exception &#8216;ReflectionException&#8217; with message &#8216;Class Comment does not exist&#8217; in C:\\Users\\user\\Desktop\\projects\\interview\\application\\libraries\\Doctrine\\Common\\Persistence\\Mapping\\RuntimeReflectionService.php:73 Stack trace: #0 C:\\Users\\user\\Desktop\\projects\\interview\\application\\libraries\\Doctrine\\Common\\<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6c42283aeb1521ae0e27bd41b7fdb227?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAnthony<br \/>\nyii zend-framework2 autoload<br \/>\nMainly the question is about ZF2 but the main task is how to integrate ZF2 to Yii.If it&#8217;s ZF1 I just have to include files that I need. ZF2 has a little bit more complex stucture.Particularly I need to load ServiceManager module.I&#8217;ve tried that:$loader = new Zend\\Loader\\ClassMapAutoloader(); $loader-&gt;registerAutoloadMap(realpath(dirname(__FILE__) . &#8216;\/lib\/Zend\/ServiceManager&#8217;)); $loader-&gt;register();And got an error:Warning: include(\/Project\/lib\/Zend\/ServiceManager): failed to open stream:<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/Objn7.png?s=32&amp;g=1\" \/><br \/>\nkjy112<br \/>\nphp database zend-framework autoload<br \/>\nI shifted the site from shared server to dedicated server but the site is not working correctly. I am getting the error as &#8220;Fatal error: Uncaught exception &#8216;Zend_Db_Adapter_Exception&#8217; with message &#8216;The PDO extension is required for this adapter but the extension is not loaded&#8217; in &#8220;;Result for:if (extension_loaded(&#8216;pdo&#8217;) and extension_loaded(&#8216;pdo_mysql&#8217;)) {print &#8220;Success&#8221;;} else {print &#8220;Failure&#8221;;}is also false.&#8212;&#8212;Index File&#8212;&#8212;&lt;?php\/\/ Define path to application directory defined(&#8216;APPLICAT<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ffd92b5689f324924cc7087b4dac6e49?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKute<br \/>\ncakephp exception bootstrap autoload<br \/>\nI have moved the CakePHP installation from my development server to production server (Config file and htaccess updated). The production server was using an older version of PHP and I have requested the host to upgrade it. After they upgraded the PHP version, the site printing the php code on the webpage (Class : \/lib\/Cake\/core\/app) .. Also it displaying a fatal error on the bottom of the page, its belowFatal error: Uncaught exception &#8216;LogicException&#8217; with message &#8216;Passedarray does not specify a<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/T9rfn.jpg?s=32&amp;g=1\" \/><br \/>\nWillem<br \/>\nphp exception autoload<br \/>\nWhile attempting to implement some kind of error handling when my __autoload() function fails to load a file I stumbled upon this little &#8216;oddity&#8217;.According to http:\/\/nl.php.net\/autoload Exceptions thrown from within the __autoload() function can be caught in a catch block since PHP version 5.3+.Note:Prior to 5.3.0, exceptions thrown in the __autoload function could not be caught in the catch block and would result in a fatal error. From 5.3.0+ exceptions thrown in the __autoload function can be<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b6116ac3c4b5835c6745570ea73a85c1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCharles<br \/>\nruby-on-rails ruby-on-rails-3 autoload<br \/>\nI&#8217;ve found many similar questions on here, but none of the answers have solved my problem. I am getting the following error upon loading my page at \/user\/2NoMethodError in User_data#dataShowing \/Users\/Jimmy\/Documents\/Launchpad Toys\/LPT_Repositories\/orbit-analytics\/app\/views\/user_data\/data.erb where line #108 raised:undefined method `&lt;&#8216; for nil:NilClassExtracted source (around line #108):105: &lt;\/div&gt; 106: &lt;\/div&gt; 107: 108: &lt;% if @videos_number &lt; 1<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/560e552dd6dd4292f4fd70054b9e3eba?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRiccardo Mazzei<br \/>\nphp autoload paypal-adaptive-payments<br \/>\nTrying to run the samples in the Paypal Adaptive Payments API I find stuck with a strange issue involving &#8211; apparently &#8211; autoloading.In the abstract the problem is that in my situation I have this class structure excerpt:file1.php:class SomeClass extends SomeOtherClass {\/\/ &#8230; }file2.php:class SomeOtherClass {function foo() {\/\/ &#8230;} }What happens is that defining an autoloader for the two classes (mapping to the correct file for each one) if SomeClass is instantiated and used it doesn&#8217;t appear t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9716f1bcf1d2e60ff8667b321290ff81?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJay Levitt<br \/>\nruby-on-rails ruby-on-rails-3 console autoload irb<br \/>\nI have a Rails 3 app with a presenter that lives in lib. The relevant part looks like: lib\/channels\/channel.rb:module Channelsclass Channeldef current_userApplicationController.current_controller.try(:current_or_guest_user)enddef self.find_by_key(key)@@channels.find { |c| c.key == key.to_sym }endprivatedef self.class_initialize@@channels = []Dir.glob(&#8220;#{Rails.root}\/lib\/channels\/channel_defs\/*.rb&#8221;).each do |f|require_dependency f@@channels &lt;&lt; &#8220;Channels::#{File.basename(f, &#8216;.rb&#8217;).camelize<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/MGhY2.png?s=32&amp;g=1\" \/><br \/>\nhakre<br \/>\nphp class autoload<br \/>\nTrying to autoload classes from &lt;root&gt;\/incl\/classes folder. The problem is, when I call some class for ex. ip like that$ip= new ip();$ip=$ip-&gt;get();PHP gives error message Notice: Undefined variable: path . But in fact file already existsI&#8217;m declaring all various paths at the top of page.define(&#8220;ds&#8221;, DIRECTORY_SEPARATOR); $path = array(); $path[&#8216;root&#8217;] = $_SERVER[&#8216;DOCUMENT_ROOT&#8217;]; $path[&#8216;common&#8217;] = $path[&#8216;root&#8217;] . ds . &#8220;common&#8221;; $path[&#8216;design&#8217;] = $path[&#8216;root&#8217;] . ds . &#8220;design&#8221;; $path[&#8216;co<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6cc09155d4a43cc770bf1e77fd87867a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGreg<br \/>\nphp autoload<br \/>\nMy application uses a &#8216;central&#8217; page controller that grabs a bunch of files (I hesitate to say libraries) each containing a few related classes, using require_once, before fetching the request. As in:require_once (dir_lib . &#8216;db.php&#8217;); require_once (dir_lib . &#8216;uuid.php&#8217;); require_once (dir_lib . &#8216;data.php&#8217;); require_once (dir_lib . &#8216;token.php&#8217;); require_once (dir_lib . &#8216;logs.php&#8217;); require_once (dir_lib . &#8216;time.php&#8217;);etc&#8230;I haven&#8217;t bot<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/4bcabdddc96f4d80d4e695978dba3e77?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nFedericoBiccheddu<br \/>\nphp caching codeigniter-2 autoload<br \/>\nGood evening everyone,I have a problem since a few days.I would instantiate the Cache class, but I can&#8217;t do this with the autoload; I&#8217;ve put this configuration file:$autoload[&#8216;libraries&#8217;] = array(&#8216;driver&#8217;, &#8216;acl&#8217;);but I can&#8217;t use it. In every class or model, I should write this$this-&gt;load-&gt;driver(&#8216;cache&#8217;, array(&#8216;adapter&#8217; =&gt; &#8216;apc&#8217;, &#8216;backup&#8217; =&gt; &#8216;file&#8217;));can I use$this-&gt;ci =&amp; get_instance(); $this-&gt;ci-&gt;cache-&gt;get(&#8216;foo&#8217;);like I do with other classes? Because at the moment<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/aed1b37bc11c126adfcfb028d8bd9916?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nlesmana<br \/>\nphp autoload<br \/>\nI have a problem with my database class. I am pushing all the methods I need in it and after closing the class, I am making an instance of it and affecting it to a $database variable. Then on the index page I don&#8217;t require the file explicitly, because I am setting an __autoload function to do that for me. But when I just try to use $database-&gt;isConnected() method I had set for instance, it doesn&#8217;t work. I have to make another instance of the $database on the index page, means recall new dataBas<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/992f601a740117e0b104733c9f09fa02?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDuroth<br \/>\nphp function autoload<br \/>\nFirst, a little background. The company I work for uses a massive function \/ class library, which gets included on every single page. Thousands and thousands of lines of functions, 90% of which probably won&#8217;t even be called on a page.In an attempt to lighten the server load a little, I&#8217;ve been experimenting with smarter library setups. To this end, I&#8217;ve split the entire file into categorized library files (i.e. sql.functions.php, date.functions.php, and others.)Unfortunately, including every sin<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ab0d404ec32cff2489cd28052c561b58?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMori<br \/>\nruby-on-rails-3 require autoload<br \/>\nI&#8217;m new to rails and making some sort of noob mistake: I frequently need to count the number of lines in a file, so I&#8217;m trying to monkey patch class File like this:class Filedef self.line_count( filename ) %x{wc -l #{filename}}.split.first.to_i end endI saved this to \/lib\/file_util.rb. I thought that this was supposed to be auto-required, so that I could just use it, but that doesn&#8217;t work:$ rails console &gt;&gt; File.line_count(&#8216;Gemfile&#8217;) NoMethodError: undefined method `line_count&#8217; for File:C<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8adc6915721aa99473ea3fd2950781e1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBhavik Shah<br \/>\nphp magento autoload<br \/>\nI&#8217;m using a 3rd party php library to connect to Microsoft Dynamics CRM, which I&#8217;ve placed in the \/lib folder of Magento.I&#8217;ve created a controller for testing purposes, in which I&#8217;m including the files from the lib folder (which are being included, as changing the paths throws an error), but when I try and initiate the class defined in one of the included files, i get this warning:Warning: include(DynamicsCRM2011\\Connector.php) [function.include]: failed to open stream: No such file or directory.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e5abe1d27b286199c319b0cbe75596c3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlan Storm<br \/>\nphp magento xml-rpc autoload<br \/>\nAny idea on what would make this happen? Im trying to use XML RPC zend version but anytime I try to include the client I get some sort of error. Its like its including the client, but then the client does not know how to include the files after that&#8230;test connect script is located in root directory, with the following -require_once &#8216;lib\/Zend\/XmlRpc\/Client.php&#8217;; $client = new Zend_XmlRpc_Client(&#8216;http:\/\/mydomain.com\/api\/xmlrpc\/&#8217;);Any help would be appreciated!<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/62d3a421bbe13cae0425a563579618ae?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\noutis<br \/>\nphp autoload<br \/>\nIs there a way I can define __autoload in a class, so whenever I access an undefined class PHP will run the __autoload class method?&lt;?php class Test {public function __construct() {echo &#8216;Instantiating &#8216;, __CLASS__, &#8220;\\n&#8221;;}public function __autoload($className) {echo &#8220;Loading $className\\n&#8221;;require_once($className . &#8216;.php&#8217;);}public function test() {$test = new AnotherClass();} }$bill = new Test(); $bill-&gt;test();AnotherClass.php:&lt;?php class AnotherClass {public function __construct() {echo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e5abe1d27b286199c319b0cbe75596c3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlan Storm<br \/>\nphp zend-framework magento autoload<br \/>\nI get the following error when i am logged into the backend in magentoFatal error: Interface &#8216;Zend_Http_Client_Adapter_Interface&#8217; not found in \/homepages\/45\/d210005774\/htdocs\/websitename\/lib\/Varien\/Http\/Adapter\/Curl.php on line 176Also i got this error previously in my index management section in magentoFatal error: Call to undefined method Zend_Locale_Data::disableCache() in \/homepages\/45\/d210005774\/htdocs\/websitename\/lib\/Zend\/Locale\/Format.php on line 153Could anyone help me out with this? I t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3283e7cedc26613d7f38c80fa27eb144?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMario<br \/>\ncodeigniter config autoload<br \/>\nI created a customized config file called config2 and autoload it in autoload.php. In my model, i just use $this-&gt;config-&gt;item(&#8216;item_in_config2&#8217;), it works well. However, in my paypal library, i tried to use the same thing like this: $this-&gt;PROXY_HOST = $this-&gt;config-&gt;item[&#8216;paypal_proxy_host&#8217;];an error occur: undefined property $config. Then i tried to add parent::__construct(); under library constructor, server error shows. Previously, i load the config2 manually and it worked<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ace3174f4519bdd2a622e1f14b2ebbae?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsymlynk<br \/>\nphp autoload<br \/>\nOn PHP.net the description for __autoload reads &#8220;Attempt to load undefined class&#8221;. However, it states you can define the function &#8220;to enable classes autoloading.&#8221; So, say I define the function like this:function __autoload($className) {if (file_exists(ROOTDIRECTORY . $className . &#8216;.class.php&#8217;)) {require_once(ROOTDIRECTORY . $className . &#8216;.class.php&#8217;);} }Will __autoload still only load classes that haven&#8217;t been defined yet, or will the guts of the function as they are written above override this<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/680f4f1c9d829f5d2acd9d6f066c9a7e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmike628<br \/>\ncodeigniter autoload<br \/>\nI have:$autoload[&#8216;libraries&#8217;] = array(&#8216;database&#8217;);and in a Model called teams, I have this inside of a function:$query = $this-&gt;db-&gt;query(&#8220;Select * from Teams&#8221;);But I get this error: Message: Undefined property: Teams::$dbBut if I do this:$CI =&amp; get_instance(); $query = $CI-&gt;db-&gt;query(&#8220;Select * from Teams&#8221;);it works. I shouldnt have to load CI. How do I get around this?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c954b90331feeb2a7a85148644239025?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBelmark Caday<br \/>\nperl oop autoload<br \/>\nI&#8217;ve been playing with AUTOLOAD to create my accessors in Perl and I have encountered this confusion (I have searched google and perldoc already).I have this code:package Class; sub new { ..code for constructor here. }sub AUTOLOAD {my $name= shift;print $name; }But when I do something like : my $a=Class-&gt;new; The autoload subroutine still executes, and prints Class=HASH(some weird number);I thought AUTOLOAD only runs when there is an undefined method or subroutine? And also I did this: my $cl<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f40de68f558e8c0ee8687c505bb1811c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngregory<br \/>\nphp codeigniter autoload filemaker<br \/>\nI&#8217;m using FX.php together with Codeigniter to access a Filemaker DB. Library and config file are autoloaded in config\/autoload.php.This setup works perfectly well on my development machine (OS X, PHP 5.3.14). However, when I run the project on our dev server (Ubuntu Precise, PHP 5.3.10), it doesn&#8217;t work. There seems to be an issue with the config parameters not being passed to the library. I get the following error messages:Severity: Notice Message: Undefined index: dataServer Filename: librari<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/00f461a3ef2f5ca890676e01c8ec8a9b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\njv42<br \/>\njavascript triggers fancybox autoload<br \/>\nI was just wondering if you could please help. I am trying to get the fancybox to load automatically once the page is rendered. However, I got this error message &#8216;t is undefined&#8217; at line 18 (\/js\/fancybox\/ jquery.fancybox-1.3.3.pack.js). At the moment, I am using jquery version 1.4.2&lt;a href=&#8221;#container&#8221; id=&#8221;profile&#8221;&gt;Click me&lt;\/a&gt;&lt;div style=&#8221;display:none&#8221;&gt; &lt;div id=&#8221;container&#8221;&gt;Fancybox Content Here &#8230;. &lt;\/div&gt; &lt;\/div&gt;&lt;script type=&#8221;text\/javascript&#8221;&gt; $(document<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/MGhY2.png?s=32&amp;g=1\" \/><br \/>\nhakre<br \/>\nphp const autoload<br \/>\nI was hoping that if I were to define constants in a separate namespace, like:namespace config\\database\\mysql;const HOST = &#8216;localhost&#8217;; const USER = &#8216;testusr&#8217;; const PASSWORD = &#8216;testpwd&#8217;; const NAME = &#8216;testdb&#8217;;That I would be able to use __autoload to automatically include them:function __autoload($className) {echo &#8220;Autoload: {$className}\\n&#8221;;$class_file = str_replace(&#8216;\\\\&#8217;, &#8216;\/&#8217;, $className) . &#8220;.php&#8221;;if(file_exists($class_file)) {include $class_file;} }echo config\\database\\mysql\\HOST;This, however<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7d9c86e5efb63735fd3b1a6a3bf10084?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ndavidsheldon<br \/>\nphp autoload globals<br \/>\nWe have a lot of existing code that, rather than creating an instance of a class, or using a static function on that class, will call the method on a global singleton of that class.For example (stringclass.php):class String {function endsWith($str, $search) { return substr($str, -strlen($search)) == $search;} } $STRING_OBJECT = new String();then it will use this in the following way:include_once(&#8220;stringclass.php&#8221;); if ($STRING_OBJECT-&gt;endsWith(&#8220;Something&#8221;, &#8220;thing&#8221;)) {echo &#8220;It&#8217;s there\\n&#8221;; }I r<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/37cd5cfb3b6dadfc536de4ce0bf80849?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCarlos Barbosa<br \/>\njavascript class autoload<br \/>\nCan i fallback to another method if method of a given object is not found?say i&#8217;ve got (just to get the idea)var phoneCall new function() {function toMom() {}function catchAll() {}}q = new phoneCall; q.toMom();q.toDad() \/\/should fire phoneCall.catchAll();<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/526efb2302dd963b029fffc78a54319a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMartijnCMT<br \/>\nphp mysql class error-handling autoload<br \/>\nI have encountered an issue with using a combination of the following in PHP:A custom classloader &#8220;ClassLoader&#8221;, implemented as a singleton and registered with spl_autoload_register, which does a require_once to include the classes. Nothing special, just some paths to organize the classes on disk. A database class &#8220;DB&#8221; extending the mysqli class. It&#8217;s created from a factory which currently knows only one instance. It does little more than load the correct config and offer some shortcut methods.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dc81a151a2e68360f919e82174ffa7b2?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\npinkgothic<br \/>\nphp autoload fatal-error redeclaration<br \/>\nQuestionIs there a way I can make PHP ignore re-declarations of classes rather than barf up a FATAL ERROR? Or at least throw an exception? (I could easily catch it then and proceed (as well a log the attempted autoloading).)I&#8217;m guessing no and a fatal error is a fatal error &#8211; after all, in ninety-nine out of a hundred cases, that&#8217;s reasonably sensible behaviour &#8211; and I&#8217;ll probably just have to fix instances of it being triggered on a case-by-case basis. But maybe someone smarter than me has this<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-27 12:11:14. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>teresko php codeigniter doctrine2 doctrine autoload I got &#8220;Message: class_parents(): Class Comment does not exist and could not be loaded&#8221; while trying to use Doctrine models in CodeIgniter controller.Here is full stacktrace Fatal error: Uncaught exception &#8216;ReflectionException&#8217; with message &#8216;Class Comment does not exist&#8217; in C:\\Users\\user\\Desktop\\projects\\interview\\application\\libraries\\Doctrine\\Common\\Persistence\\Mapping\\RuntimeReflectionService.php:73 Stack trace: #0 C:\\Users\\user\\Desktop\\projects\\interview\\application\\libraries\\Doctrine\\Common\\ Anthony yii zend-framework2 autoload Mainly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,1,8],"tags":[],"class_list":["post-1640","post","type-post","status-publish","format-standard","hentry","category-magento","category-uncategorized","category-zend-framework"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1640","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=1640"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1640\/revisions"}],"predecessor-version":[{"id":8976,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1640\/revisions\/8976"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}