Closed (fixed)
Project:
Colorbox
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Mar 2022 at 18:41 UTC
Updated:
3 May 2022 at 17:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
victoria-marina commentedWorking on this
Comment #4
victoria-marina commentedHope it helps!
Comment #5
avpadernoComment #6
muranod commentedSetting up a new site, I'm getting this, and other similar error messages as well, though Colorbox is working beautifully.
in addition the the above:
Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in template_preprocess_colorbox_formatter() (line 88 of ... \web\modules\contrib\colorbox\colorbox.theme.inc)
Drupal 9, all modules up to date. Using Bootstrap 5 theme.
Colorbox Version: 8.x-1.8
Comment #7
bart lambert commentedCorrected line 86 of the colorbox.theme.inc .
I have no errors yet, everything working fine! Thanks!
Comment #8
ruturaj chaubeyNo errors. Working fine.
Comment #9
renatog commentedReally makes sense. +1 to RTBC
Comment #11
renatog commentedMerged to the dev branch
Thank you so much @victoria-marina and everyone for your contribution
Comment #12
muranod commentedI love Colorbox. Thank you for the quick fix!
Comment #13
parijke commentedSorry for asking, but how do I make a patch file out of this?
Comment #14
apolitsin commentedStill have this problem
how to fix
Comment #15
avpadernoThat is a different error message, although similar to the one reported in the issue summary.
We can either leave this issue closed and create a new issue, or re-open this and update the issue summary; in the latter case, it would be better to fix all similar errors.
Usually, once the issue is marked fixed, it's not re-opened, but that is a decision the project maintainers make.
Comment #16
avpadernoIf we are going to fix also the following code, I would not convert
$item->titleto a string.It's sufficient to use the following code.
Comment #17
avpadernoComment #18
apolitsin commentedThe patch works perfectly, thanks
Comment #19
avpadernoThe tests fail, but it's because I selected MySQL 5.6 and Drupal 9.3, when Drupal 9.3 requires MySQL 5.7.
Comment #20
renatog commentedReally looks good. Thanks a lot
Comment #22
renatog commentedCommitted to the 8.x-1.x branch. Thank you so much everyone for your job on this
Comment #23
muranod commentedWorked for me!
Thanks for the quick fix.