Skip to content

Commit

Permalink
ERROR: Non-static method App\Assets\Helpers::cacheBusting() should no…
Browse files Browse the repository at this point in the history
…t be called statically

LycheeOrg#1059
Issue in upgrade 4.3.0 to 4.3.4 | roduction.ERROR: Non-static method App\Assets\Helpers::cacheBusting() should not be called statically
Adding below line works 
```php
Artisan::call('view:clear');
```
  • Loading branch information
GaneshKandu authored Jul 12, 2021
1 parent 8d41c0f commit cb9607a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Actions/Install/ApplyMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ private function str_to_array($string, array &$output)
*/
public function migrate(array &$output)
{
Artisan::call('view:clear');
Artisan::call('migrate', ['--force' => true]);
$this->str_to_array(Artisan::output(), $output);

Expand Down

0 comments on commit cb9607a

Please sign in to comment.