the-events-calendar / the-events-calendar-category-colors

Plugin add-on for The Events Calendar to colorize categories
https://wordpress.org/plugins/the-events-calendar-category-colors
45 stars 19 forks source link

Missing Category Colors tab #98

Closed FunWithWP closed 6 years ago

FunWithWP commented 6 years ago

I have installed The Events Calendar and now The Events Calendar Category Colors plug-ins. Both are activated. But when I go to The Events Calendar settings page, there is no tab for Category Colors. What could cause this? Thanks

afragen commented 6 years ago

I’m going to need more information. Can you install and activate https://github.com/afragen/wp-debugging and let me know what errors show up?

FunWithWP commented 6 years ago

I have installed the debug plug-in. Where do I find the errors?

afragen commented 6 years ago

In the debug log. It should be accessible from the Debug Quick Look menu in the dashboard.

FunWithWP commented 6 years ago

Ok, got it. Please see attached images:

debug1

debug2

afragen commented 6 years ago

Can you try re-installing the Category Colors plugin? Also, from the Environment tab in Query Monitor, can you report the PHP version?

afragen commented 6 years ago

Can you copy/paste the debug.log? Specifically I’m looking for an error in line 95 of Autoloader.php https://github.com/afragen/the-events-calendar-category-colors/blob/8dfe746f7aed4644ed4aae6c42792eb4960028e3/src/Autoloader.php#L95

FunWithWP commented 6 years ago

image

afragen commented 6 years ago

Is the WP Debugging plugin active? It should have defined that constant.

FunWithWP commented 6 years ago

Hmm, it wasn't. But this - image

FunWithWP commented 6 years ago

I just noticed that the debugging plugin requires PHP 5.4, and we are currently on PHP 5.3.17, so that may be why the debug isn't working. But "The Events Calendar" and "The Events Calendar Category Colors" should be fine with that version, right? Also, this is on a multi-site. Could that be an issue?

afragen commented 6 years ago

Multisite is not the issue.

I would strongly urge you to update to a current version of PHP. It is very likely that I will change the PHP requirement to PHP 5.6. I am unable to completely test under PHP 5.3 as my development tools don’t fully support it.

The issue seems to be with that line 95 of my autoloader not returning results. I can only conclude that this is due your specific PHP installation.

I’m sorry I don’t think I have anything else to offer.

FunWithWP commented 6 years ago

I was afraid that might be the case, even though both of the events plug-ins stated they were compatible. Our team is working on upgrading our WP servers, so hopefully I can move this site to a newer server and get it working, because I really want to use your plug-ins! Thanks so much for your help!

afragen commented 6 years ago

You’re very welcome. If the issue persists on an up to date server, let me know.

FunWithWP commented 6 years ago

Hello Andy, I am now running on an up-to-date server, with PHP version 7.2.5, and I don't know whether the category colors issue is fixed because now I have a new problem - I get a 404 error when trying to display the events calendar. I have tried un-installing and re-installing, but still get the error.

error_2018-09-11_10-58-03

Here is the debug log: debuglog_2018-09-11_10-58-54

afragen commented 6 years ago

404 is a file not found. Any more to the debug log? Might need to refresh permalinks.

FunWithWP commented 6 years ago

I uninstalled then reinstalled the plugin, and was adding a new event when I saw this:

[image: image.png]

The debug log was a bunch of "initializing" statements, and this highlighted one: [image: image.png]

On Tue, Sep 11, 2018 at 11:14 AM Andy Fragen notifications@github.com wrote:

404 is a file not found. Might try reinstalling The Events Calendar. Any more to the debug log?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/afragen/the-events-calendar-category-colors/issues/98#issuecomment-420330503, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao_evERNvsG1UPiLmGok2R6MVM1ZczTeks5uZ-FTgaJpZM4WZ0mQ .

FunWithWP commented 6 years ago

Not sure if those images came through. Attempting to send them again: 2018-09-11_13-23-49

2018-09-11_13-26-47

afragen commented 6 years ago

I’ve seen those JS dependency missing errors recently, but nothing that seemed to interfere with code function.

Is there still an issue otherwise? It seems like the 404 is gone.

BTW, dismissing those admin notices should make them go away for 2 weeks.

FunWithWP commented 6 years ago

I am still getting the 404 error when attempting to view anything but the home page. https://constructionpublicinfo.ua.edu/events/ https://constructionpublicinfo.ua.edu/testpage

However, just about 30 minutes ago I found out we have other sites that are experiencing the same problem. All seem to be on new server(s). We've got our internal tech support looking into it. So you may want to wait and see. I'll let you know.

FunWithWP commented 6 years ago

Hello Andy, Update - the plug-ins are working well on the new server now. Apparently a server setting was not allowing modifications thru a site's htacess file, but is fixed now.

I am now back to testing our configuration and data. I am seeing that when an event is displayed, the details of the event organizer do not appear - only the name, and it's not click-able. I would like for people to be able to view all the details - name, description(body), phone, website, and email.

What is the expected behavior for this? image

Thanks,

afragen commented 6 years ago

That’s going to be a question for the Modern Tribe folks. Nothing I do modifies the actual event details or layout, only the title styling.

If you’re using Events Calendar PRO I would ask on their forums, otherwise go to the wp.org forums for The Events Calendar plugin support.

FunWithWP commented 6 years ago

Will do. You can go ahead and close this ticket now. Thank you so much for your help!