WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] PHP Errors (9 posts)

  1. babrees
    Member
    Posted 1 year ago #

    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/

  2. agelonwl
    Member
    Posted 1 year ago #

    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

  3. babrees
    Member
    Posted 1 year ago #

    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

  4. agelonwl
    Member
    Posted 1 year ago #

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

  5. babrees
    Member
    Posted 1 year ago #

    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

  6. babrees
    Member
    Posted 1 year ago #

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

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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

  8. originalstormcrow
    Member
    Posted 1 year ago #

    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

  9. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

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

    function em_options_input_text(...., $description ="", $default =""){

    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.