Skip to content

Instantly share code, notes, and snippets.

View ishakteyran's full-sized avatar

İshak Teyran ishakteyran

View GitHub Profile
@ishakteyran
ishakteyran / vagrant_up_debugLog.txt
Created March 28, 2018 19:34
vagrant up command cant see the powershell version correctly
INFO global: Vagrant version: 2.0.3
INFO global: Ruby version: 2.4.3
INFO global: RubyGems version: 2.6.14
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.0.3\\gems\\vagrant-2.0.3\\bin\\vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_LOG="debug"
INFO global: resolv replacement has been enabled!
INFO global: Plugins:
@ishakteyran
ishakteyran / countableImplementation.txt
Created March 31, 2018 19:40
I installed the app from https://github.com/aasisvinayak/flymyshop and when i tried to browse the very first page of the site this error was thrown.
ErrorException in Builder.php line 1185:
count(): Parameter must be an array or an object that implements Countable
in Builder.php line 1185
at HandleExceptions->handleError('2', 'count(): Parameter must be an array or an object that implements Countable', 'C:\PHP7\WEBSITES\shop\core\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php', '1185', array('scope' => array(object(Product), 'scopeFeatured'), 'parameters' => array(object(Builder)), 'query' => object(Builder)))
at count(null) in Builder.php line 1185
at Builder->callScope(array(object(Product), 'scopeFeatured'), array(object(Builder))) in Builder.php line 1419
at Builder->__call('featured', array())
at call_user_func_array(array(object(Builder), 'featured'), array()) in compiled.php line 11663