Patti

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 118 total)
  • Author
    Posts
  • in reply to: Fatal PHP Error after updating to version 4.4.32 #1622953
    Patti
    Participant

    Yes, 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'];
    in reply to: Fatal PHP Error after updating to version 4.4.32 #1622470
    Patti
    Participant

    Not 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.

    Patti
    Participant

    * correction – tribe_get_custom_field() (not fields).

    in reply to: Fatal PHP Error after updating to version 4.4.32 #1622423
    Patti
    Participant

    This reply is private.

    Patti
    Participant

    Stray 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.

    Patti
    Participant

    I’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?

    Patti
    Participant

    It’s not JetPack. It is happening on the Twenty seventeen theme, with all but the TEC & TECP plugins turned off.

    in reply to: Error in log #1298427
    Patti
    Participant

    Sean – did you get any errors AFTER you disabled the plugins?

    Were you using any custom templates for the BD plugin?

    Patti
    Participant

    Before 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.
    Patti
    Participant

    Everything _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?

    Patti
    Participant

    Because 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 352

    Any 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
    in reply to: Error in log #1294337
    Patti
    Participant

    Sean, I started the other thread you linked to.

    Are you getting the Meta.php errors too?

    Patti
    Participant

    I’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.

    Patti
    Participant

    I 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?

    Patti
    Participant

    The 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.

Viewing 15 posts - 1 through 15 (of 118 total)