Skip to content

Commit

Permalink
An exception occurred: <small>Undefined property:LaraUpdaterControlle…
Browse files Browse the repository at this point in the history
…r::$getCurrentVersion</small>
  • Loading branch information
ajaythakkar authored and pietrocinaglia committed Dec 4, 2022
1 parent 5c2eed7 commit 50facee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/LaraUpdaterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function update()
$this->setCurrentVersion($last_version_info['version']); //update system version
$this->log( trans("laraupdater.INSTALLATION_SUCCESS"), true, 'info' );

$this->log( trans("laraupdater.SYSTEM_VERSION") . $this->getCurrentVersion, true, 'info' );
$this->log( trans("laraupdater.SYSTEM_VERSION") . $this->getCurrentVersion(), true, 'info' );

Artisan::call('up'); // Maintenance mode OFF
$this->log( trans("laraupdater.MAINTENANCE_MODE_OFF"), true, 'info' );
Expand Down Expand Up @@ -226,6 +226,7 @@ private function backup($filename) {
if( !isset($this->tmp_backup_dir) )
$this->tmp_backup_dir = base_path().'/backup_'.date('Ymd');

$backup_dir = $this->tmp_backup_dir;
if ( !is_dir($backup_dir) )
File::makeDirectory($backup_dir, $mode = 0755, true, true);

Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/InstalledVersions.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af',
'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf',
'name' => 'pcinaglia/laraupdater',
),
'versions' =>
Expand All @@ -41,7 +41,7 @@ class InstalledVersions
'aliases' =>
array (
),
'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af',
'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf',
),
),
);
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'aliases' =>
array (
),
'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af',
'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf',
'name' => 'pcinaglia/laraupdater',
),
'versions' =>
Expand All @@ -18,7 +18,7 @@
'aliases' =>
array (
),
'reference' => 'b6ac6e2314927d3612ab96d2b2a683cb0f4289af',
'reference' => '83ff0b79beb207054a0bb4297e45602e1bfc31bf',
),
),
);

0 comments on commit 50facee

Please sign in to comment.