Support » Plugin: amr ical events lists » update to 4.1 gives cut-off pages, undefined functions

  • Resolved howell4c


    I just upgraded amr-ical-events-list from 4.0.?? to 4.1, and discovered a problem with the settings pages in amr-ical-events-list:
    wp-admin/admin.php?page=manage_amr_ical cut off after the “none” in the “Advanced” section, and wp-admin/admin.php?page=manage_event_listing&list=[any number] cut off after the text box next to “Time” in the “Define date and time formats:” section.

    By turning on the WP_DEBUG option, I got it to tell me that there was “Fatal error: Call to undefined function amr_format_date() in […]/wp-content/plugins/amr-ical-events-list/includes/amr-ical-list-admin.php on line 1408”. Sure enough, I found lots of calls to amr_format_date, but no function definition in any file anywhere under plugins/amr-ical-events-list.

    I re-downloaded 4.0.30, and this function was defined there in includes/amr-ical-pretty-print.php, but it’s not in the 4.1 version of that file. When I copied the function definition into the 4.1 version, I got a similar error about amr_wp_format_date(), so I went ahead and copied the whole 4.0.30 amr-ical-pretty-print.php file over the 4.1 one. I’m now able to see and edit the rest of the settings, but I don’t know what else I may have messed up down the road.

Viewing 1 replies (of 1 total)
  • Plugin Author anmari


    Hi that function got moved to the pluggables file. It sounds like you have a corrupted update. I’d suggest deleting all plugin files and then re adding from wp.

    I’m not experiencing any problems in my systems and those functions are crucial to the events lists!

Viewing 1 replies (of 1 total)
  • The topic ‘update to 4.1 gives cut-off pages, undefined functions’ is closed to new replies.