jhaun
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] PHP WarningHi Darian,
Yes, no problem. Here’s what we’re currently using for this site:The Events Calendar: version 6.15.0.1
WordPress: version 6.8.2The theme is custom built. The other plugins being used are:
Also, this is running on PHP 8.2.
ACF Content Analysis for Yoast SEO – 3.2
Admin Columns Pro – 6.4.21
Advanced Custom Fields PRO – 6.5.0.1
Advanced Custom Fields: Extended PRO – 0.9.1.1
Advanced Custom Fields: Font Awesome – 4.1.2
Advanced Custom Fields: Gravity Forms Add-on – 1.3.8
Advanced Editor Tools – 5.9.2
Akismet Anti-spam: Spam Protection – 5.5
Classic Editor – 1.6.7
Gravity Forms – 2.9.16
Gravity Forms Akismet Add-On – 1.1.0
Gravity Forms Signature Add-On – 4.8.0
Gravity PDF – 6.13.1
Instagram Feed Pro Personal – 6.0.4
Redirection – 5.5.2
Safe SVG – 2.3.3
Simple Page Ordering – 2.7.4
The Events Calendar – 6.15.0.1
The Events Calendar Pro – 7.7.0
Wordfence Security – 8.0.5
WP Crontrol – 1.19.2
WP Mail SMTP – 4.5.0
WP Migrate – 2.7.4
WP Store Locator – 2.2.260
Yaost Duplicate Post – 4.5
Yoast SEO – 25.7There are quite a few plugins on this site, so not sure which ones would be relevant, although the code shows the line will probably error for that line in PHP 8.2, and the $term variable should be checked to see if it’s an array first? For example:
if (
tribe_is_event( $event_id )
&& is_array( $term )
&& is_object_in_term( $event_id, Tribe__Events__Main::TAXONOMY, [ $term['term_id'] ] )
) {
$return = true;
} else {
$return = false;
}Thanks,
JonathanHi Damilare,
Yes, I’m using version 4.2.4, the latest version according to https://wordpress.org/plugins/wp-optimize/Unless it somehow didn’t get updated, the array syntax: $this->buffer{$this->count} with the curly braces is in that file, and is no longer supported
Thanks!