Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@driusan
Copy link
Collaborator

@driusan driusan commented Nov 21, 2023

This fixes 2 problems with loading the publication module on Raisinbread:

  1. When trying to load the page, I get the error:
<b>Deprecated</b>:  htmlspecialchars_decode(): Passing null to parameter https://github.com/aces/Loris/pull/1 ($string) of type string is deprecated in <b>/home/driusan/Code/Loris/modules/publication/php/publication.class.inc</b> on line <b>304</b><br />

with PHP 8.2.

  1. The Form.js imports were missing.

Fix the error:

```
<b>Deprecated</b>:  htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/home/driusan/Code/Loris/modules/publication/php/publication.class.inc</b> on line <b>304</b><br />
```

when loading the publication module
@driusan driusan added the Category: Bug PR or issue that aims to report or fix a bug label Nov 21, 2023
@driusan
Copy link
Collaborator Author

driusan commented Nov 21, 2023

@kongtiaowang can you review/test?

@kongtiaowang
Copy link
Contributor

@driusan The publication main page load well, but the view project can't load. "Uncaught ReferenceError: SelectElement is not defined"

Copy link
Contributor

@kongtiaowang kongtiaowang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kongtiaowang kongtiaowang added the Passed manual tests PR has been successfully tested by at least one peer label Nov 24, 2023
@driusan driusan merged commit 7abaa23 into aces:main Nov 24, 2023
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Bug PR or issue that aims to report or fix a bug Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants