Hi @tommcgee,
Thank you for reporting this issue.
Based on the error message, it appears that the variable $ctl_story_type is expected to be an array, but it is receiving a string instead. We need to investigate further to determine why the value is not in the expected format.
Could you please share the URL of the page where you have added the timeline?
Also, let us know if the issue occurs on all timelines or only a specific one.
This information will help us reproduce the issue and identify the root cause.
I only have one timeline running, and it’s on this page:
https://blogs.shu.edu/baoxuemi/the-chinese-in-america/
I applied a one-line patch, which is why it’s working now.
$ctl_story_date = is_array( $ctl_story_type ) ? $ctl_story_type['ctl_story_date'] : get_post_meta( $post_id, 'ctl_story_date', true );
Glad to hear that the quick patch has resolved the issue on your site.
Our team will investigate the root cause in more detail to understand why $ctl_story_type is not always returned in the expected format. Based on our findings, we’ll work on implementing a proper fix in an upcoming plugin update.
Thank you for reporting this issue and sharing your workaround.
Hi @tommcgee,
Thank you for your patience.
We’ve fixed this issue and included the fix in the latest plugin version 3.3.4. Could you please update the plugin and verify it on your end?
If you encounter any issues or have any questions, please feel free to reach out. We’ll be happy to assist you.
Thanks & Regards
Looks like it’s working now, thanks!