Forum Replies Created
-
AuthorPosts
-
September 16, 2018 at 5:53 am in reply to: Fatal PHP Error after updating to version 4.4.32 #1622953
Patti
ParticipantYes, like that. You could simplify it even more by creating a var for each custom field.
// Put above the content $fields = tribe_get_custom_fields(); // Create your vars $onlinereg = $fields['Online Registration']; $paperapp = $fields['Paper Application'];September 14, 2018 at 6:29 pm in reply to: Fatal PHP Error after updating to version 4.4.32 #1622470Patti
ParticipantNot sure why you can’t see my private post? see below.
I had the same problem. If you’re using tribe_get_custom_field() to pull custom fields to your pages, that not longer works. See https://pastebin.com/Cuqbif9f for fix/replacement.
September 14, 2018 at 3:29 pm in reply to: Call to undefined function tribe_get_custom_field() After update to 4.4.32 #1622427Patti
Participant* correction – tribe_get_custom_field() (not fields).
September 14, 2018 at 3:27 pm in reply to: Fatal PHP Error after updating to version 4.4.32 #1622423Patti
ParticipantThis reply is private.
September 14, 2018 at 3:23 pm in reply to: Call to undefined function tribe_get_custom_field() After update to 4.4.32 #1622422Patti
ParticipantStray depreciated tribe_get_custom_fields() used to display custom fields. “Depreciated” must have shifted to “defunct” in this last update and I must have missed that in the release notes.
September 14, 2018 at 2:06 pm in reply to: Call to undefined function tribe_get_custom_field() After update to 4.4.32 #1622360Patti
ParticipantI’ve tracked it back to custom fields. They are displayed using the example here: https://pastebin.com/Cuqbif9f
If I remove any reference to them the page works.
Thoughts?
September 14, 2018 at 12:39 pm in reply to: Call to undefined function tribe_get_custom_field() After update to 4.4.32 #1622313Patti
ParticipantIt’s not JetPack. It is happening on the Twenty seventeen theme, with all but the TEC & TECP plugins turned off.
Patti
ParticipantSean – did you get any errors AFTER you disabled the plugins?
Were you using any custom templates for the BD plugin?
June 9, 2017 at 5:35 am in reply to: database error Unknown column ‘EventStartDate’ in ‘order clause’ for query #1295685Patti
ParticipantBefore anything else, no, I have not applied the new WP version yet. It’s on today’s agenda and this site is 3rd in line.
The last time I looked at the error_log on this site was about 7:30am yesterday (June 8). Checked it just now (8:30am, June 9) the long database error showed up 1x around 9am yesterday, and the meta.php error showed up around 11:30am yesterday, 19x in rapid succession. I’m starting to wonder if it has to do with some kind searchbot.
Knowing there is at least one other person with the same issue, I’m wondering if he & I have anything in common that might be at the root of this? Plugins? OS? PHP vs? Assuming he submitted that info with his post, can you check it?
-
This reply was modified 8 years, 10 months ago by
Patti.
June 8, 2017 at 4:46 am in reply to: database error Unknown column ‘EventStartDate’ in ‘order clause’ for query #1295113Patti
ParticipantEverything _is_ up to date and I know that because I spent the better part of yesterday updating all the WP sites I manage. I can’t say for certain if this site was done before or after the wp error log was run. But please feel free to double check my work.
The only thing in the server error_log this morning is the same error that was there yesterday morning.
Would it be safe to assume that the TEC & TECP updates that were issued yesterday included fixes for this?
June 7, 2017 at 7:03 am in reply to: database error Unknown column ‘EventStartDate’ in ‘order clause’ for query #1294378Patti
ParticipantBecause I’m having such a hard time tracking down anything in the server error logs, I turned on the WP error logs about 30 minutes ago. About 900 lines of errors already.
A majority is this error:
PHP Notice: Undefined property: theme_MenuItem::$url in /home/xxxxxxxxxx/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php on line 1437
And a few of these:
PHP Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxxxxxxx/public_html/wp-includes/functions.php:3893) in /home/xxxxxxxxxx/public_html/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 351
PHP Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxxxxxxx/public_html/wp-includes/functions.php:3893) in /home/xxxxxxxxxx/public_html/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 352Any of this help?
————————
I should mention only one instance of the original “database error unknown” since I cleared the site error_log yesterday evening. The error was at 00:34.
-
This reply was modified 8 years, 10 months ago by
Patti. Reason: More info
Patti
ParticipantSean, I started the other thread you linked to.
Are you getting the Meta.php errors too?
June 6, 2017 at 10:04 am in reply to: database error Unknown column ‘EventStartDate’ in ‘order clause’ for query #1293880Patti
ParticipantI’ve got the original site exactly copied over to demo site. Clicked around, trying to reproduce errors but it’s not happening. Error logs on original site are showing the same errors as recently as yesterday. I need to go thru the access logs a little better and see if I’m missing something there.
I will let you know as soon as I know anything more.
June 1, 2017 at 1:00 pm in reply to: database error Unknown column ‘EventStartDate’ in ‘order clause’ for query #1292023Patti
ParticipantI can’t shut off PRO on a live site. You’re going to have to give me at least a day to get it duplicated in a test area in order to answer your question. I’ve been here since about 6am, I’d like to be done for today.
Error #1 not limited to category 312. Checking today’s log, I see the same type of error for pages/posts, and venues. All of them (Error #1) reference events calendar in some way.
Error #3 seems to have dropped off the logs since I first posted this. Let’s remove that from the list of questions.
Error #2 continues to show up repeatedly, but I think that may be related to someone traveling thru the site triggering it unrelated to Error #1. So, yes, I mistakenly posted that error as a part of this post and will start a new post tomorrow morning.
Is that a plan you can work with?
June 1, 2017 at 8:59 am in reply to: database error Unknown column ‘EventStartDate’ in ‘order clause’ for query #1291812Patti
ParticipantThe errors appear to happen in tandem. I may have failed to mention that and I apologize for that.
I do not know what triggers the errors.
There is no post or page ID 312 but there is/was an event category with term ID 312. It does not show up in the dashboard list, but does show up in the _terms & _term_taxanomy data tables.
-
This reply was modified 8 years, 10 months ago by
-
AuthorPosts
