WordPress.org

Ready to get started?Download WordPress

Forums

Events Planner
[resolved] Installation problems (3 posts)

  1. Karred
    Member
    Posted 1 year ago #

    Hey guys

    I'm working on a website, where I'm trying to combine it with an event plugin and on the description this one sounds like the best for me.

    I downloaded it and tried to set it up, but after the activation I got 2 errors:

    Strict Standards: Only variables should be assigned by reference in D:\xampp\htdocs\wordpress\wp-content\plugins\events-planner\system\epl-base.php on line 57
    
    Fatal error: Call-time pass-by-reference has been removed in D:\xampp\htdocs\wordpress\wp-content\plugins\events-planner\system\epl-util.php on line 1145

    I have looked on the code (on these to lines) and can't find any errors at all.

    The first error code:

    if ( count( $libraries ) > 0 ) {
    
                foreach ( $libraries as $library ) {
    
                    $lib = strtolower( str_replace( "-", "_", $library ) );
                    $this->$lib =& $this->load_library( $library );
                }
            }

    The second one:

    function clean_input( $data ) {
            return array_map( array( get_class(), 'clean_input_process' ), &$data );
        }

    I'm using WordPress 3.5
    http://wordpress.org/extend/plugins/events-planner/

  2. Abel S
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Karred.

    Looks like you are running PHP 5.4!? I have fixed these in the Pro and will address them in the lite version soon.

    Thanks, Abel

  3. Abel S
    Member
    Plugin Author

    Posted 1 year ago #

    Karred, sorry, did not mention how to fix the issues. Please remove the & symbol from those lines and you will be good. There may be some other places that the error may pop up. In all cases, there will be the & symbol.

    Thanks, Abel

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.