title: Laravel 4: Error: Popover requires tooltip.js
body: <p>I am using <a href="https://github.com/andrew13/Laravel-4-Bootstrap-Starter-Site" rel="nofollow noreferrer">Laravel-4-Bootstrap-Starter-Site</a>. I have this issue loading javascript files:  <strong>Error: Popover requires tooltip.js</strong> It seems that is not causing majors problems but I am losing functionality.</p>
  
  <p><img src="https://i.stack.imgur.com/gi4dk.png" alt="enter image description here"></p>
  
  <p>Checking source code we can see that <strong>popover is loaded first and before than tooltip</strong> file.</p>
  
  <pre><code>&lt;!-- Javascripts --&gt;
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/popover-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/tab-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/alert-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/transition-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/modal-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/scrollspy-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/carousel-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/dropdown-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/tooltip-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/collapse-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/button-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/4e833b1b206008719982ee4bd4edd6f2/affix-49fe37fdd6b1d004e71a46c3650d6e3b.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/wysihtml5/wysihtml5-0.3.0-5f4b6ad2a53f7fc45751886caf6076e2.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/wysihtml5/bootstrap-wysihtml5-5f4b6ad2a53f7fc45751886caf6076e2.js"&gt;&lt;/script&gt;
  &lt;script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/datatables-bootstrap-5f4b6ad2a53f7fc45751886caf6076e2.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/datatables.fnReloadAjax-5f4b6ad2a53f7fc45751886caf6076e2.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/jquery.colorbox-5f4b6ad2a53f7fc45751886caf6076e2.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/prettify-5f4b6ad2a53f7fc45751886caf6076e2.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/jquery.uploadfile-88e9f41770fc597c379b2a75086bcb0f.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.dev/assets/compiled/admin/assets/js/common-75a4c5198cfe0c4468991a6000253513.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $('.wysihtml5').wysihtml5();
  $(prettyPrint);
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Question</strong>: is there a way to solve this issue?</p>