• Resolved simogiansa

    (@simogiansa)


    Hello everyone,

    I’m encountering a problem with the event calendar page display on my WordPress website after updating the plugin. Specifically, when attempting to access the specific calendar URL (https://www.cassinacalcio.it/calendar/calendario-torneo-cassina-2024-oggi/), it returns a blank page.

    Upon further investigation, I found the following error message:

    PHP Fatal error: Uncaught TypeError: TEC\Events\Integrations\Plugins\Elementor\Controller::disable_blocks_on_display(): Return value must be of type string, null returned in /home/naijlsun/cassinacalcio/wp-content/plugins/the-events-calendar/src/Events/Integrations/Plugins/Elementor/Controller.php:319

    It’s worth noting that when I embed the calendar shortcode into a page (https://www.cassinacalcio.it/torneo-cassina-2024/torneo-cassina-2024-calendario-completo/), there are no issues.

    It seems to be related to the plugin elementor. Any insights or solutions on how to resolve this issue would be greatly appreciated.

    Thank you in advance for your assistance!

    Simone

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi there @simogiansa ,

    The error message is referring to “the-events-calendar” plugin and not to SportsPress. Please open a ticket there for further assistance ??

    Thanks,
    Savvas

    Thread Starter simogiansa

    (@simogiansa)

    Dear @savvasha,

    I apologize for posting in the wrong forum. Thank you for directing me to the appropriate forum where I can open a ticket for my issue with the SportPress plugin.

    Best regards,

    Simone

    Plugin Contributor Savvas

    (@savvasha)

    No worries ??

    Thread Starter simogiansa

    (@simogiansa)

    Hello @savvasha ,

    I apologize for the inconvenience, but I would like to reopen the ticket regarding the issue I am experiencing with the SportPress plugin. After further investigation, I have found that the problem is indeed related to SportPress and not The Events Calendar plugin as initially assumed.

    To recap, I am encountering an error which causes a blank page when trying to access the specific match calendar URL (https://www.cassinacalcio.it/calendar/calendario-torneo-cassina-2024-oggi/). It’s worth noting that when I embed the calendar shortcode ([event_list XXXX]) into a page (https://www.cassinacalcio.it/torneo-cassina-2024/torneo-cassina-2024-calendario-completo/), there are no issues.

    The specific error message is as follows:

    PHP Fatal error: Uncaught TypeError: TEC\Events\Integrations\Plugins\Elementor\Controller::disable_blocks_on_display(): Return value must be of type string, null returned in /home/naijlsun/cassinacalcio/wp-content/plugins/the-events-calendar/src/Events/Integrations/Plugins/Elementor/Controller.php:319

    Below are the version details:

    • PHP: 8.1
    • WordPress: 6.5.3
    • SportPress: 2.7.21
    • SportsPress for Football (Soccer): 0.9.6
    • Elementor Free: 3.21.5
    • Theme: FCUnited 1.1.5

    Thank you in advance for your assistance in resolving this issue.

    Best regards,

    Simone

    Plugin Contributor Savvas

    (@savvasha)

    Hi @simogiansa ,

    As you can see from the error message, the file causing this error is part of the “the-events-calendar”, which has nothing to do with SportsPress. Did you try to disable this plugin and see if your calendar link is working?

    TEC\Events\Integrations\Plugins\Elementor\Controller::disable_blocks_on_display(): Return value must be of type string, null returned in /home/naijlsun/cassinacalcio/wp-content/plugins/the-events-calendar/src/Events/Integrations/Plugins/Elementor/Controller.php:319

    Thanks,
    Savvas

    Thread Starter simogiansa

    (@simogiansa)

    Hi @savvasha,

    thanks as always for your quick response.

    The Events Calendar support team has provided some insights regarding the error message I received, which you can find here.

    They mentioned that in the disable_blocks_on_display() function of the /home/naijlsun/cassinacalcio/wp-content/plugins/the-events-calendar/src/Events/Integrations/Plugins/Elementor/Controller.php file, there seems to be an issue with the content check, resulting in a null value when a string data type is expected.

    I’m reaching out to your team to see if you could provide any insights or assistance regarding why this might be occurring, especially in the context of SportPress integration.

    Regards,

    Simone

    Plugin Contributor Savvas

    (@savvasha)

    Hi @simogiansa,

    I am afraid that I have no idea of how the events plugin function is working. So it is almost impossible to investigate an error that occurs from a 3nd party plugin function.

    I remember that some people were having compatibility issues with how both plugins are using the permalink slug for the events. What you can try is at the permalink settings of your WordPress and change the slug of events of SportsPress from “event” to something different (i.e.”match”).

    Thanks, Savvas

    Thread Starter simogiansa

    (@simogiansa)

    Hi @savvasha,

    Thank you for your suggestion.

    I tried changing the permalink slug for SportPress events, but unfortunately it did not resolve the issue.

    I appreciate your support and assistance.

    Best regards,

    Simone

    Plugin Contributor Savvas

    (@savvasha)

    Did you try to disable all other plugins except SportsPress and Elementor, and see if the link https://www.cassinacalcio.it/calendar/calendario-torneo-cassina-2024-oggi/ is working? Dont forget to clear your cache also.

    Thanks,
    Savvas

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Issue with Event Calendar Page Display’ is closed to new replies.