RS 10.0 w/ PHP8.1.9

87 views
Skip to first unread message

Tony Giusca

unread,
Sep 16, 2022, 6:05:43 AM9/16/22
to ResourceSpace
I've setup a RS 10.0 server (PHP 8.1.9, MySQL 8.0.30) and migrated an RS 9.4 instance (PHP 7.2.24, MySQL 5.7.38).

Everything seems to work fine, except for a minor feature. Clicking on "Featured Collections" (https://<host>/pages/collections_featured.php) from the top menu bar, generates the following error message:
" /var/www/html/include/render_functions.php line 4821: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated".

Might this be a bug in RS10.0 or in PHP8.1.9; or perhaps something unique to my server?

Thank you,
Tony

J. Manuel Velasco

unread,
Sep 17, 2022, 2:09:03 PM9/17/22
to ResourceSpace
Hi, 

It seems something in RS still using one function deprecated in your PHP version.

Greetings.

--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/resourcespace/6fe82e5c-c45f-4b8f-af54-f563474bc272n%40googlegroups.com.

David Dwiggins

unread,
Sep 17, 2022, 2:27:16 PM9/17/22
to resour...@googlegroups.com
I think there are still some bugs related to this PHP change in the base code. You can no longer pass a null value to a string function.  I sent some patches to the ResourceSpace team on Friday, but I suspect there may be other instances lurking. 

We’re working on upgrading our older installation to v. 10 on Ubuntu 22.04 LTS, but getting these fixed first is going to be important. 

Sent from my iPhone

On Sep 17, 2022, at 2:09 PM, J. Manuel Velasco <jmanuel...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages