• Resolved sarawildflower

    (@sarawildflower)


    Using PHP: 7

    Since last update, Event list is causing white screen on a single page. All menus showing on live site. Nothing displaying at all in back end of WordPress, click on that page and complete white screen, no content, so can’t see or edit shortcodes.

    Elsewhere on site Event List works fine, but those displays specify single categories. This page shows all categories.

    WP-DEBUG displays this:
    Notice: Undefined property: SC_Event_List::$categories in /home/sites/conac.org.uk/public_html/wp-content/plugins/event-list/includes/sc_event-list.php on line 232

    Fatal error: Uncaught Error: Call to a member function convert_db_string() on null in /home/sites/conac.org.uk/public_html/wp-content/plugins/event-list/includes/sc_event-list.php:232 Stack trace: #0 /home/sites/conac.org.uk/public_html/wp-content/plugins/event-list/includes/sc_event-list.php(176): SC_Event_List->html_event(Object(EL_Event), Array, true) #1 /home/sites/conac.org.uk/public_html/wp-content/plugins/event-list/includes/sc_event-list.php(124): SC_Event_List->html_events(Array) #2 /home/sites/conac.org.uk/public_html/wp-content/plugins/event-list/event-list.php(105): SC_Event_List->show_html(Array) #3 /home/sites/conac.org.uk/public_html/wp-includes/shortcodes.php(319): Event_List->shortcode_event_list(Array, ”, ‘event-list’) #4 [internal function]: do_shortcode_tag(Array) #5 /home/sites/conac.org.uk/public_html/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(event\\…’, ‘do_shortcode_ta…’, ‘ [event-list nu…’) #6 /home/sites/conac.org.uk/public_html/wp-content/themes/Divi/includes/build in /home/sites/conac.org.uk/public_html/wp-content/plugins/event-list/includes/sc_event-list.php on line 232

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • massimod

    (@massimod)

    It is the FATAL error that causes the white screen of death.

    I think this is a plugin conflict. Try to disable some plugins and see how it goes.

    Thread Starter sarawildflower

    (@sarawildflower)

    Yes it is a plugin conflict, the Event List plugin is causing the issue. When I disable it the page renders fine.

    This is the shortcode I’m using on that page, it was working until the update: [event-list num_events=all show_cat=true show_filterbar=true filterbar_items=months_dropdown(show_all=false|show_upcoming=true),cats_dropdown;;reset_link collapse_details=true link_to_event=false date_filter=upcoming]

    As I said, Event list is working fine on other pages when it’s activated. But on this page it causes the fatal error. Any ideas why?

    massimod

    (@massimod)

    @sarawildflower

    It is not the plugin, it is YOU that need to change some things:

    There are some manual changes required after the upgrade:
    +
    * renaming the shortcode attribute “show_details” to “show_content” in all shortcodes
    * renaming the shortcode attribute “details_length” to “content_length” in all shortcodes
    * renaming the shortcode attribute “collapse_details” to “collapse_content” in all shortcodes
    * update your widget (goto Admin page -> Appearance -> Widget and “Safe” all event-list widgets)
    +* the following classes were renamed, adapt them in your custom CSS-styles if required: .start-date -> .startdate, .end-date -> .enddate, .event-details -> .event-content

    • This reply was modified 7 years ago by massimod.
    • This reply was modified 7 years ago by massimod.
    Plugin Author mibuthu

    (@mibuthu)

    Thanks for the info, I can see there is an issue with the code for the “show_cat” attribute. If you remove this it should be working. I will fix this in the next version.

    Thread Starter sarawildflower

    (@sarawildflower)

    Thanks @mibuthu, I have removed that and it now works.

    Also just wanted to say the responses from @massimod were fairly impolite. I’m not sure if they are providing an official response from the Event List support team, but it’s not creating a great customer experience. SHOUTING at a user who has asked for support is never necessary.

    massimod

    (@massimod)

    @sarawildflower

    Impolite ? Me ? Shouting ?

    I’m sorry but you are the “impolite” here, to people that try to help you out.

    Anyway, good luck with your site.

    brunnerblubb

    (@brunnerblubb)

    @mibuthu

    I have the same problem, so I will wait for your next update. Thanks a lot.

    mschapiro

    (@mschapiro)

    subscribe

    michaelulm

    (@michaelulm)

    so how we can use show_cat now?

    Plugin Author mibuthu

    (@mibuthu)

    The issue is already fixed in the development build.
    You can manually do this changes until the new version is released.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Undefined property causing White Screen?’ is closed to new replies.