• Resolved yshlox

    (@yshlox)


    This plugin seems to be messing up my site. this is one of the errors in my error log. How can I fix this?

    PHP Deprecated: Return type of TEC\Events\Custom_Tables\V1\Migration\Reports\Site_Report::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/goldlkym/public_html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Migration/Reports/Site_Report.php on line 195

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @yshlox,

    Thank you for bringing this issue to our attention.

    The error you mentioned indicates a deprecated PHP function in one of the files of The Events Calendar plugin.

    To fix this error, you will need to update The Events Calendar plugin to the latest version available.

    Here are the steps to update the plugin:

    1. Log in to your WordPress admin dashboard.
    2. Go to the “Plugins” section.
    3. Look for The Events Calendar plugin in the list of installed plugins.
    4. If an update is available, you should see an “Update Now” link below the plugin name. Click on it to start the update process.
    5. Alternatively, you can also click on the “Update” link on the main plugins page, which will update all your installed plugins, including The Events Calendar.

    After the update is complete, the deprecated PHP function should be resolved, and the error should no longer appear in your error log.

    Let us know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi @yshlox

    This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please open a new thread if any other questions arise, and we’d be happy to help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘messing up site’ is closed to new replies.