• Resolved parag_narvekar

    (@parag_narvekar)


    Hi team

    after update php version to 8.2 and wordpress version to 6.5.5 also updated event plugin and pro plugin to latest

    getting deprecated function on Events-> Import section below are the error/warnings

    Deprecated: Creation of dynamic property Tribe__PUE__Utility::$api_invalid is deprecated in /code/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Utility.php on line 96 Deprecated: Creation of dynamic property Tribe__PUE__Utility::$api_invalid_message is deprecated in /code/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Utility.php on line 96 Deprecated: Creation of dynamic property Tribe__PUE__Utility::$api_inline_invalid_message is deprecated in /code/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Utility.php on line 96 Deprecated: version_compare(): Passing null to parameter #2 ($version2) of type string is deprecated in /code/wp-content/plugins/the-events-calendar/common/src/Tribe/PUE/Checker.php on line 1614

    Also after update the below CSS is not getting load

    tribe-events-full.min.css


    Quick solution will help me a lot

    Thanks
    Parag Narvekar

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Chika Ibeneme

    (@chikaibeneme)

    Hi Parag,

    Thanks for reaching out.

    1. The deprecation warnings only appear after updating, correct?
    2. For the missing css file, Can you provide me with your site URL so that I can take a closer look at this, please? Additionally, would you happen to have any caching/performance plugins that could be blocking that file? we have another user with the same issue, seeing if it’s a trend here and we’re going to test this out as well.

    Thread Starter parag_narvekar

    (@parag_narvekar)

    Hi Chika

    Thanks for the response

    1. Yes i am getting deprecation error after updating php version 8.2.2. I have a latest event calendar plugin and also have pro license key and the plugin is also updated to latest.

    2. Sorry i can’t provide the URL. There is no cache plugin installed on site. For testing i have freshly install new wordpress with same version and i have only installed events calendar plugin and still getting the same error on my local machine (404 wp-content/plugins/the-events-calendar/src/resources/css/tribe-events-full.min.css?)

    3. Also getting below warning on both the live site and test site as well.

    Warning: The Events Calendar REST API endpoints are not accessible! This may be due to a server configuration or another plugin blocking access to the REST API.
    Please check with your hosting provider or system administrator to ensure that the below is accessible:
    https://localhost:10047/wp-json/tribe/events/v1
    Plugin Support tristan083

    (@tristan083)

    Hi @parag_narvekar ,

    Thank you for your message and the information.

    Deprecation notices aren’t really something that calls for concern, as they do not stop program execution. If these are getting displayed on a page on your live site, I recommend reaching out to your WebHost to have your PHP error reporting settings set to error file only. However, we do acknowledge the fact that these deprecation notices needs to be addressed and so routine maintenance releases (or updates) is put in place to handle these (see PHP 8.x: Understanding what the Deprecation notices mean).

    As for the 404 not found for the wp-content/plugins/the-events-calendar/src/resources/css/tribe-events-full.min.css file, I recommend you try manually re-installing the plugin and see if that alleviates the situation.

    For the notice that you’re finding below, it is mentioned in our documentation at?Troubleshooting REST API that in a lot of cases, this can be caused by a?firewall?or?security plugin?accidentally identifying the API as a threat and blocking the endpoints. To check that, you can start by completing a?conflict test?to determine if a plugin might be blocking the endpoints.
    ?
    However, if the REST API URL?is accessible and the calendar pages are working as expected, I would treat this as a false-positive alarm. Therefore, you can safely close down the notice by clicking on the (x) button on the far right.

    Warning: The Events Calendar REST API endpoints are not accessible! This may be due to a server configuration or another plugin blocking access to the REST API.
    Please check with your hosting provider or system administrator to ensure that the below is accessible:
    https://localhost:10047/wp-json/tribe/events/v1
    Plugin Support Darian

    (@d0153)

    Hi there,

    It seems like this thread has been quiet for a bit, so we’ll go ahead and mark it as resolved. However, if any further questions or concerns come up, please don’t hesitate to start a new thread.

    Thread Starter parag_narvekar

    (@parag_narvekar)

    Hi Darian

    Sorry for late reply

    For 2nd point i tried downloading plugin manually but still the same error can you please help me in this

    Plugin Support tristan083

    (@tristan083)

    Hi @parag_narvekar ,

    Thank you for your message.

    I suspect there’s a conflict that’s causing the missing CSS issue here, as it could have been dequeued by a plugin or by the theme. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 

    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Thread Starter parag_narvekar

    (@parag_narvekar)

    hi @tristan083

    I tried the steps you mentioned but still the css is not loading is there any setting which we are missing

    thanks
    Parag

    Plugin Support tristan083

    (@tristan083)

    Hi @parag_narvekar ,

    Thank you for your message.

    Could you please verify and confirm, with your WebHost’s file manager, that the tribe-events-full.min.css file does exist in your /wp-content/plugins/the-events-calendar/src/resources/css/ folder and it has the proper file permission?

    Plugin Support Darian

    (@d0153)

    Hi @parag_narvekar

    I hope everything is going smoothly for you. I just wanted to touch base and inquire if you had the opportunity to review the response above as it has been some time since we last heard from you.

    Looking forward to your reply.

    Plugin Support Darian

    (@d0153)

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

    peter8nss

    (@peter8nss)

    Creation of dynamic properties, which is deprecated in PHP8.2, is still going on in version 6.8.1 of the plugin.

    A simple fix is to define the following class variables for class Tribe__PUE__Utility:

    $api_invalid;
    $api_invalid_message;
    $api_inline_invalid_message;

    Note that you will only see the message when using PHP 8.2 with DEBUG mode on.

    Please could you indicate the internal bug ticket that has been raised to correct this so I know what to look for in the changelog.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.