tiki23 KO after adding the composer package for google youtube videos which adds php 8.0 dependencies
- Status
- Closed
- Subject
- tiki23 KO after adding the composer package for google youtube videos which adds php 8.0 dependencies
- Version
- 23.x
- Category
- Error
- Regression
- Feature
- Packages
Video (Kaltura, YouTube, etc.) - Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- rjsmelo
- Keep informed
- Marc Laporte
- Lastmod by
- Xavier de Pedro
- Rating
- Description
I recently upgraded a production tiki site from 21.x to 23.x in a new server, and when adding the missing composer packages in the new server, tiki became unusable after adding the google api client package:
Copy to clipboard"google/apiclient ^2.2.2 Apache-2.0 wikiplugin_googlechart, wikiplugin_youtube"
This added from dependency on php 8.0, apparently, and since tiki23 .x uses php 7.4, tiki became broken: WSOD with just one text message saying:"Composer detected issues in your platform: Your Composer dependencies require a PHP version "= 8.0.0".
I had to enter the server through ssh and remove all contents from the vendor folder plus the composer files in the root folder.
Dead end for a new tiki site admin not knowing all these tricky emergency measures, probably?- Solution
The dependency on this for wikiplugin_youtube was incorrect i think, so i will remove that, and from the entry on packagist.org it looks to me like it depends on php 5 OR 7 or 8, like this:
requires:
php:7.0|^8.05.6|So we have removed the blocker status from this bug and advise people not to install it for now
- Importance
- 9
- Easy to solve?
- 8
- Priority
- 72
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7855
- Created
- Monday 04 October, 2021 16:32:09 UTC
by Xavier de Pedro - LastModif
- Saturday 22 January, 2022 21:55:50 UTC