Closed odincreation closed 4 months ago
FWIW my test site at https://tribe.thefragens.net is running the latest versions of the relevant plugins and WP 6.6-RC2, PHP 8.3.3.
Everything seems to work for me with no errors. Have you tried saving the settings again?
Yes, but it doesn´t run... If it´s not a WP update problem, it may be due to the fact that events have 2 categories? Some of the colors appeared yesterday, not all, then I did some changes on the color of one button, and they all have disappeared once again after saving. I am lost...
What do you mean, "it doesn't run"?
Can screenshot your settings and describe what you think it should look like?
I mean, the categories don't seem to be what they should be.
Front end, there is only one color, the current categories have no transparency, the others have transparency. It should be like in the settings (picture 1) and it´s not... There are 2 levels of categories, the events are either cleaning or maintenance (Limpieza or Mantenimiento), and are made by one of the 3 suppliers
Can you provide the URL of your calendar?
Have you tried to see if you have a plugin conflict? Deactivate all plugins except those from The Events Calendar, does the issue persist?
If it does can you temporarily activate a default theme and see if it persists?
Can you uncheck the featured event color and save settings?
Also, if you want a solid background only you don't need to set the border color.
I have deactivated all plugins and activated a default theme, but the issue persists... I have deactivate the featured event color too, without any result.
I don't see anything on that page but an header and and image. No menus, no calendar.
And now?
Much better. I see the following error inside the generated CSS for the plugin.
<br /> <b>Deprecated</b>: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in <b>/home/heddjhik/public_html/wp-includes/kses.php</b> on line <b>1745</b><br />
I'll try to look closer as soon as I have some time. I'll let you know when I have something else to test with.
What PHP version are you using?
I think I might see an issue. Still need to further test.
Can you try this branch and see if it works?
https://github.com/afragen/the-events-calendar-category-colors/archive/refs/heads/develop.zip
Thank you, I had install and replace the plugin but the result is the same... I still have this message ; Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/heddjhik/public_html/wp-content/plugins/the-events-calendar-category-colors_OLD/src/Category_Colors/Main.php on line 260
Seems like the plugin from the develop branch is not installed as the version is 7.3.0.1 and the CSS still shows version 7.3.0.
Also you can add the refresh_css
query arg to the calendar URL to refresh the CSS.
Super! It works, thank you very much for your disponibility and your great work! :) Just one little thing doesn't work right: one category takes the background color of another category, yellow, when the background should be gray.
It looks like you have two categories with the same coloring. You might need to set it and save again.
Thanks for testing and glad it works. Make sure the plugin is in the wp-content/plugins/the-events-calendar-category-colors
folder so the plugin will update correctly.
If you look at the picture the category Enersol´s background should be grey, it takes the colour yellow of the Mantenimiento´s background. If I change the color of this one, the bg colour of Enersol change too. This issue concerns the calendar elements, not the buttons who have the good appearance. Thank you for your advice
Now I see what you're referring to, though it looks like the backgrounds for all the categories that have borders is white and it might be better to set those to transparent. The picture doesn't show the background as gray.
Hi, the plugin doesn´t show colors since the last update of Wordpress... Could you solve it and fix it? It was ok before the update. Thanks a lot, I have this message too: Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in .../public_html/wp-content/plugins/the-events-calendar-category-colors/src/Category_Colors/Main.php on line 260