• Resolved kelsangchodor

    (@kelsangchodor)


    Hi,

    Please can anyone help? Or shed some light on something.

    (We are using PHP 7.0)

    I get an error when clicking on a calendar date on our website when using the shortcode:

    [events_calendar full=”0″ long_events=”0″]

    If you try this website page: http://www.meditationinsarasota.org you’ll see the calendar on the right. If you click on any Wednesday date – it gets the error message below. All other dates work other than Wednesdays. This is because it only works if the date only has ONE event on it. But if it has more than one event on a date (as it does on Wednesdays) we get this message:

    Warning: explode() expects parameter 1 to be string, object given in /home3/meditbo0/public_html/wp-content/plugins/events-manager/em-events.php on line 233

    Warning: Invalid argument supplied for foreach() in /home3/meditbo0/public_html/wp-content/plugins/events-manager/em-events.php on line 234

    Catchable fatal error: Object of class Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation could not be converted to string in /home3/meditbo0/public_html/wp-content/plugins/events-manager/em-events.php on line 243

    Any help appreciated,

    Best wishes,
    Chris Skelton.

    • This topic was modified 3 years, 11 months ago by kelsangchodor.
    • This topic was modified 3 years, 11 months ago by kelsangchodor.
    • This topic was modified 3 years, 11 months ago by kelsangchodor.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter kelsangchodor

    (@kelsangchodor)

    Update on this May 4th:

    When I disable the Yoast plugin – I do not get the error. I contacted support in Yoast and they said the following:

    The Plugin “Events Manager” isn’t compatible with Yoast SEO 14
    The second argument “$sep” passed to the function “em_content_wp_title” is a string.
    function em_content_wp_title($title, $sep = ”, $seplocation = ”){
    That function is used on the “wpseo_title” filter, which expects the second parameter passed to be an instance of “Indexable_Presentation” not a string.

    ————-

    From me (Chris) So, can events manager developers provide me with any code/ideas that could fix this? Thanks for any help…

    • This reply was modified 3 years, 11 months ago by kelsangchodor.
    Thread Starter kelsangchodor

    (@kelsangchodor)

    Can anyone help with this? 🙂

    Plugin Support angelo_nwl

    (@angelo_nwl)

    We tried to install Yoast SEO 14.0.4 and seems to the working fine; however, you can try to install and activate WP Safe Mode to narrow down the problem –

    https://wordpress.org/plugins/wp-safe-mode/

    Thread Starter kelsangchodor

    (@kelsangchodor)

    Hi Angelo,

    I wondered if you read through this support request from the top or just read the last part of it?

    Thanks for your help.

    Hello,

    As for YOAST SEO, You can try our latest Dev version as it should have a fix for the YOAST Issue. You can download the dev version by enabling it under Events > Settings > Admin Tools.

    Get the same problem (exact same message) with EM 5.9.7.3 with EMPro 2.6.7.2 and Yoast 14.1.
    Situation: Create more than 3 events (as fullcalendar is set to max 3 events per day), when viewed on month view on full-calendar. Clicking on “more …” results in error instead of showing all events on that day.

    Disable Yoast, all is good.
    Installed EM 5.9.7.4, activated Yoast, all is good!

    Dev 5.9.7.4 does the trick!
    Thank you, team!

    Plugin Support angelo_nwl

    (@angelo_nwl)

    thanks for trying and confirming @ungern

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error using [events_calendar full=”0″ long_events=”0″]’ is closed to new replies.