Joomla 4 beta 1
Create an article and create loads of versions by clicking save many times
Click versions button
Click on a date/time
Note New window popup
New window displays details of the article
New window displays an error message
Call to a member function load() on bool
Labels |
Added:
?
|
I can't reproduce the issue. Can you enable debug and post the stack trace?
$typesTable
is false...
public static function prepareData(ContentHistory $table)
{
$object = static::decodeFields($table->version_data);
$typesTable = Table::getInstance('Contenttype', 'Joomla\\CMS\\Table\\');
$typeAlias = explode('.', $table->item_id);
array_pop($typeAlias);
$typesTable->load(array('type_alias' => implode('.', $typeAlias)));
$formValues = static::getFormValues($object, $typesTable);
$object = static::mergeLabels($object, $formValues);
$object = static::hideFields($object, $typesTable);
$object = static::processLookupFields($object, $typesTable);
return $object;
}
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-18 16:34:49 |
Closed_By | ⇒ | SharkyKZ |
can be replicated at made up url:
/administrator/index.php?option=com_contenthistory&view=preview&layout=preview&tmpl=component&version_id=