<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed><type>rich</type><version>1.0</version><provider_name>phorkie</provider_name><provider_url>https://p.cweiske.de/</provider_url><title>Laravel: BadMethodCallException</title><author_name>Christian Weiske</author_name><cache_age>86400</cache_age><width>900</width><height>900</height><html>&lt;!-- embedding all files of https://p.cweiske.de/579 --&gt;
&lt;link rel="stylesheet" href="https://p.cweiske.de/css/embed.css"/&gt;
&lt;div class="phork" id="579"&gt;
    &lt;div class="phork-file"&gt;
 &lt;div class="phork-content"&gt;
  
&lt;div class="document"&gt;


&lt;p&gt;In Laravel you don't see where the method has actually been called:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
[object] (BadMethodCallException(code: 0):
Call to undefined method Illuminate\\Database\\Query\\Builder::getRelationClass()
 at /var/www/backoffice/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2483)
&lt;/pre&gt;
&lt;/div&gt;

 &lt;/div&gt;
 &lt;div class="phork-meta"&gt;
  &lt;a href="https://p.cweiske.de/579/rev-raw/b332ab16c5356e48bbaa3517b72cf41cb2d2a725/README.rst" style="float: right"&gt;view raw source&lt;/a&gt;
  &lt;a href="https://p.cweiske.de/579#README.rst"&gt;README.rst&lt;/a&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</html></oembed>
