?
avatar DrHouse44
DrHouse44
22 May 2018

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;
?>

folder . '/' . $image->name, $image->name, array('width' => $image->width, 'height' => $image->height)); ?>
`

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;
?>

folder . '/' . $this->escape($image->name), $this->escape($image->name), array('width' => $image->width, 'height' => $image->height)); ?>
`

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.

avatar DrHouse44 DrHouse44 - open - 22 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 22 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 May 2018
avatar PhilETaylor PhilETaylor - comment - 22 May 2018
avatar brianteeman
brianteeman - comment - 22 May 2018

This is a duplicate report and has been fixed with #20533

avatar brianteeman brianteeman - change - 22 May 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-05-22 17:19:56
Closed_By brianteeman
avatar brianteeman brianteeman - close - 22 May 2018
avatar DrHouse44
DrHouse44 - comment - 22 May 2018

okay sorry for the double post

Add a Comment

Login with GitHub to post a comment