Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Input.php on line 31

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Input/Cookie.php on line 21

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Uri/Uri.php on line 141
Super User - Macrotone Blogs

Macrotone Blogs

Macrotone blogs upon Joomla, our products and other matters.

Long overdue updates

With the release of Joomla 3.4 it was decided that we really should update our website.  Then we have the PHP update required since 7.4 is now out of support.

So we took a demo website and using PHP 8.0 and fixing numerous PHP errors relatng to the ordering of required paramters needing to come before options ones, and also the use of {} braces now not permitted we managed to get the site up, but the front page etc still require some major work.

Our second backup site was much easier and looks reasonable althought more work is require.

Our main site was a bigger headache. On changing to PHP 8.04 we ended up with a blank page for front end and admin area.   Cannot go back to PHP 7.4 and cannot get into the site so have to resort to using configuring PHP initialisation files.

For Joomla debugging after blank screens and this even works if the Joomla admin password is unknown.

To adjust error_reporting, we open configuration.php and add

public $error_reporting = 'maximum';

2. Additionally, we turn ON full error reporting in PHP by adding these to the php.ini file.

display_errors = On
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

3. Now, Joomla errors will be accessible from the error log file.

To be logical we shall first concentrate upon fixing the errors introduced by the change from PHP 7.4 to PHP 8.0. Then we will look into changing to PHP 8.1 and possily later to PHP 8.2. Then we will look at the Joomla 4 templates especially since out site template in Bootstrap 3 which is virtually impossible to Bootstrap 5. The admin template is also going to require some work.

Errors seem to fall into certain types:

a) Use of {} braces around a vaue that should be [] instead.

b) Array variable passed to a function, so add (array) in front of offending parameter.

To be continued.

 

 

 

Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries