bug PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
6 Sep 2023

Summary of Changes

Fix deprecation for ModuleAdapter
Deprecated: PDO::quote(): Passing null to parameter 1 ($string) of type string is deprecated
And Patch::clean() on null.

Testing Instructions

Enable error_reaporting to maximum
Try install any module.

Actual result BEFORE applying this Pull Request

An error message Unexpected token ...
Open Browser console, in network tab for the POST request will be full deprecation message:
Deprecated: PDO::quote(): Passing null to parameter 1 ($string) of type string is deprecated for line

$this->ordering = $this->getNextOrder($this->_db->quoteName('position') . ' = ' . $this->_db->quote($this->position));

Expected result AFTER applying this Pull Request

Module installed without error.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org:
  • No documentation changes for manual.joomla.org needed
avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2023
Category Libraries
avatar Fedik Fedik - open - 6 Sep 2023
avatar Fedik Fedik - change - 6 Sep 2023
Status New Pending
avatar wilsonge
wilsonge - comment - 6 Sep 2023

This should probably be targeted at 4.3 dev

avatar Fedik
Fedik - comment - 6 Sep 2023

Yeah, makes sense,
I got it while trying 5.0 and made automaticaly to 5.0 ?
I will redo

avatar Fedik
Fedik - comment - 6 Sep 2023

Okay, there it is #41617

avatar Fedik Fedik - close - 6 Sep 2023
avatar Fedik Fedik - change - 6 Sep 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-09-06 13:31:33
Closed_By Fedik
Labels Added: bug PR-5.0-dev

Add a Comment

Login with GitHub to post a comment