To test on 4.0-dev branch
Modify version.php line 63 to const EXTRA_VERSION = 'alpha4-dev';
Go to database page and Fix database.
Then in Joomla Update Options choose Custom URL and add this link:
https://update.joomla.org/core/nightlies/next_major_list.xml
Save Options.
Display the Joomla Update page index.php?option=com_joomlaupdate
[13-Nov-2018 11:32:47 Europe/Berlin] PHP Warning: Creating default object from empty value in /Applications/MAMP/htdocs/installmulti/joomla40/libraries/src/Updater/Update.php on line 299
Plus weird informations like "Unknown Error" for language packs.
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | com_joomlaupdate |
Labels |
Added:
J4 Issue
|
I can reproduce with the instructions provided using alpha4-dev
. Install the French language pack and check again under 3rd Party Extensions Pre-Update Check
.
closed for Reasons stated above. Please reopen if needed.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-05-23 03:50:56 |
Closed_By | ⇒ | franz-wohlkoenig |
Status | Closed | ⇒ | New |
Closed_Date | 2019-05-23 03:50:56 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ |
Status | New | ⇒ | Confirmed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ |
Set to "open" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23063
Should be opened since it is reproducible.
too early on my side, apologize.
I can reproduce with the instructions provided using alpha4-dev
But can you reproduce with the current j4?
But can you reproduce with the current j4?
Yes.
Due to warning: PHP Warning: Creating default object from empty value in /libraries/src/Updater/Update.php on line 299
Install a language pack, e.g. de-DE_joomla_lang_full_4.0.0v1-alpha1.zip from https://github.com/joomlagerman/joomla/releases/tag/4.0.0v1-alpha1
Go to administrator/index.php?option=com_joomlaupdate
Click on Check for Update
Check error-log file
The question is now:
See lines here: https://github.com/joomla/joomla-cms/blob/4.0.0-alpha9/libraries/src/Updater/Update.php#L294-L309
if (!isset($this->currentUpdate))
before going on?// For everything else there's...the default!
default:
$name = strtolower($name);
if (!isset($this->currentUpdate))
{
$this->currentUpdate = new \stdClass;
}
if (!isset($this->currentUpdate->$name))
{
$this->currentUpdate->$name = new \stdClass;
}
Looks like there were some changes recently.
Without modifying the version. I still get the error
PHP Warning: Creating default object from empty value in /Applications/MAMP/htdocs/joomla40/libraries/src/Updater/Update.php on line 299
Looks like the empty value comes from the language packs (which are 3.x packs) as I have 3 packs.
but no more Unknown Error
in the Compatible
column.
After modifying the version to
const EXTRA_VERSION = 'alpha9-dev';
same result.
I've made some additions to testing instructions in #23063 (comment)
yes you are right sorry
but if i try to install https://github.com/joomlagerman/joomla/releases/download/4.0.0v1-alpha1/de-DE_joomla_lang_full_4.0.0v1-alpha1.zip
got this
I use the current nightly. Wednesday, 26 June 2019 02:01:00 UTC and have no installation issues with that de-de package.
But I think there's a typo in plugin finder.php
impode(
instead of implode(
Plugin "Extension - Finder" is not activated in my Joomla.
I'll make a pr for zhe impode thing
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-06-27 18:34:41 |
Closed_By | ⇒ | franz-wohlkoenig |
Is this still reproducible. I followed the instructions (except for changing alpha4 to alpha14) but I didnt get anything like your results