Support » Plugin: WP Conference Schedule » TD not “colspanning”

  • Resolved stoffb

    (@stoffb)


    Hi,

    The first row repeats my “title” on all the tracks instead of merging them into one cell.

    Is there a setting I’m missing somewhere?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter stoffb

    (@stoffb)

    I get a warning message from WP_DEBUG:

    Warning: Trying to access array offset on value of type int in /var/www/vhosts/fuseconference.net/httpdocs/wp-content/plugins/wp-conference-schedule/inc/schedule-output-functions.php on line 332

    bzmof

    (@bzmof)

    I believe this is a bug in the latest version, as the developer’s demo has the same issue: https://wpconferenceschedule.com/#demo
    As a workaround you could use the “grid” layout for now, as it’s still working as intended.

    bzmof

    (@bzmof)

    To fix this bug change line 331 in schedule-output-functions.php
    from

    
    foreach($columns_clone as $pair) {
    

    to

    
    foreach($columns_clone as $pair['key'] => $pair['value']) {
    

    (Note: It makes to code easier to use two different variables for key and value, but changing the line like this allows to leave the other lines untouched)

    ping @stevejonesdev

    • This reply was modified 7 months ago by bzmof.
    Thread Starter stoffb

    (@stoffb)

    Worked a treat! Thank you so much

    Plugin Author Steve Jones

    (@stevejonesdev)

    Thanks @bzmof, I’ll get that fix added to the plugin shortly.

    Awesome, thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘TD not “colspanning”’ is closed to new replies.