Skip to content

Update Joomla 3.8.8 gives white screen on the site #20538

@DrHouse44

Description

@DrHouse44

After the update to joomla 3.8.8 I get a white screen.
The error report once put on development.
Then I get the following error: Fatal error: Using $this when not in object context in C:\xampp\htdocs\Joomla\Joomla\mod_random_image\tmpl\default.php online 16
Luckily I had another backup and went to see what has changed in that file.

Before the update there was this:
`<?php
/**

  • @Package Joomla.Site
  • @subpackage mod_random_image
  • @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
  • @license GNU General Public License version 2 or later; see LICENSE.txt
    */

defined('_JEXEC') or die;
?>

`

After the update, this will be displayed:
`<?php
/**

  • @Package Joomla.Site
  • @subpackage mod_random_image
  • @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
  • @license GNU General Public License version 2 or later; see LICENSE.txt
    */

defined('_JEXEC') or die;
?>

`

And if I restore the file "default.php" before the update, the site will just work properly again.
The upgrade package once separately downloaded and in that file that file is also adjusted.

Is this an error in the Joomla update?

So I tried out Xampp locally first, I'm still waiting to update on the server.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions