? ? PHP 8.x Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
20 May 2022

Summary of Changes

When triggering the onContentPrepare event in the contact details page, the text attribute is expected to be a string. On PHP 8.1 a couple of deprecated messages are displayed as it is currently null.

Testing Instructions

  • Create a contact
  • Create a single contact menu item
  • Open the new menu item

Actual result BEFORE applying this Pull Request

The following deprecated message is displayed:
Deprecated: strpos(): Passing null to parameter 1 ($haystack) of type string is deprecated in /plugins/content/loadmodule/loadmodule.php on line 49

Expected result AFTER applying this Pull Request

No warning.

avatar laoneo laoneo - open - 20 May 2022
avatar laoneo laoneo - change - 20 May 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2022
Category Front End com_contact
avatar laoneo laoneo - change - 20 May 2022
The description was changed
avatar laoneo laoneo - edited - 20 May 2022
avatar chmst
chmst - comment - 20 May 2022

I have tested this item successfully on 275ad19


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37836.

avatar chmst chmst - test_item - 20 May 2022 - Tested successfully
avatar alikon
alikon - comment - 20 May 2022

I have tested this item successfully on 275ad19


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37836.

avatar alikon alikon - test_item - 20 May 2022 - Tested successfully
avatar alikon alikon - change - 20 May 2022
Status Pending Ready to Commit
avatar alikon
alikon - comment - 20 May 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37836.

avatar bembelimen bembelimen - close - 20 May 2022
avatar bembelimen bembelimen - merge - 20 May 2022
avatar bembelimen bembelimen - change - 20 May 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-05-20 14:20:20
Closed_By bembelimen
Labels Added: ? ? PHP 8.x
avatar bembelimen
bembelimen - comment - 20 May 2022

Thx

Add a Comment

Login with GitHub to post a comment