WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Events Manager] PHP Errors

[Resolved] [Plugin: Events Manager] PHP Errors

  • babrees

    @babrees

    Just downloaded & installed Events Manager. The Timber plugin reports the following PHP Error…

    Missing argument 3 for em_options_input_text(), called in /home/thedogsc/public_html/wp-content/plugins/events-manager/admin/em-options.php on line 1008 and defined

    Stack trace:

    em_options_input_text() at Line 1008 in wp-content/plugins/events-manager/admin/em-options.php
    em_admin_options_page() at Line in
    call_user_func_array() at Line 403 in wp-includes/plugin.php
    do_action() at Line 151 in wp-admin/admin.php
    require_once() at Line 10 in wp-admin/edit.php

    Context:

    Array
    (
    [title] => Search button text
    [name] => dbem_serach_form_submit
    )

    http://wordpress.org/extend/plugins/events-manager/

Viewing 8 replies - 1 through 8 (of 8 total)
  • agelonwl

    @angelonwl

    Have you tried to temporarily:

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems

    babrees

    @babrees

    Hi.

    Yep – deactivated all plugins. Of course I have to enable Timber to see the error. However, I have Events Manager working perfectly on another site with all the same (bar one – exec-php) plugins activated.

    Just tried reverting to default theme – that didn’t work. But as EM works perfectly with my theme on another site I didn’t think that was the problem

    TIA, Cheers
    Jill

    agelonwl

    @angelonwl

    are using the same EM version on both of your site?

    babrees

    @babrees

    yes – I just upgraded the older site to 5.2.3. No problems as yet.

    Sorry, guess it’s the ol’ needle in a haystack 🙁

    Jill

    babrees

    @babrees

    OK – I spoke too soon, just gone back to my original site and it is now showing the same error message

    Plugin Author Marcus

    @netweblogic

    will fix this, but if you edit file em-functions.php and replace

    $description

    to

    $description=”

    in the function declarations like this

    function em_options_input_text(…., $description, $default){

    }

    it’ll go away

    originalstormcrow

    @originalstormcrow

    Marcus, upon making your suggested changes I get this

    Parse error: syntax error, unexpected ‘”‘ in /home/lakeeven/public_html/happenings/wp-content/plugins/events-manager/em-functions.php on line 444

    Plugin Author Marcus

    @netweblogic

    I´ll repeat with the changes, looking back the $default should have a default value too.

    function em_options_input_text(…., $description =””, $default =””){

    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Events Manager] PHP Errors’ is closed to new replies.