PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, March 3, 2022

[FIXED] Behat and laravel 5.5: Class hash does not exist

 March 03, 2022     behat, laravel, laravel-5, php     No comments   

Issue

I keep getting

In Container.php line 752:
  Class hash does not exist 

When I run behat on a laravel 5.5 project

I have php 7.1, ubuntu 16.04 and "behat/behat": "^3.5",.

My coworkers don't seem to have this problem, only me. A pc specific issue?

I tried composer dump-autoload and php artisan cache:clear, nothing works


Solution

if I run the command below, everything runs smoothly and I see no errors, not sure if this is a fix or not.

/vendor/bin/behat --tags=Ready



Answered By - Lynob
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing