• Since upgrading to 2.16.5, I now have the following errors showing on individual sermon pages:
    Warning: count(): Parameter must be an array or an object that implements Countable in /home/wheatle1/public_html/new/wp-content/plugins/sermon-manager-for-wordpress/views/partials/content-sermon-attachments.php on line 26
    Warning: Invalid argument supplied for foreach() in /home/wheatle1/public_html/new/wp-content/plugins/sermon-manager-for-wordpress/views/partials/content-sermon-attachments.php on line 27
    I have a custom content-sermon-single.php template in my theme folder, but the error is being thrown in the …attachments.php file, which I’ve not adapted for my theme.
    Is anyone else affected by this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter amcnicoll

    (@amcnicoll)

    I should add: I’ve added a temporary fix:
    if(!is_array($notes)) { $notes = array($notes); }
    This means that the page listed above no longer shows an error.

    Plugin Author wpforchurch

    (@wpforchurch)

    @amcnicoll We just uploaded 2.16.6 this will be fixed the disappearance of all sermon notes. We apologies for the trouble 2.16.5 works only when supported with the pro version. Please let us know if you still have an issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Migration issue: error displayed where no sermon notes present’ is closed to new replies.