PHP 5.2 error when updating 2.1.x to 2.2.2

Easy Property Listings WordPress Real Estate Plugin Forums Basic Support PHP 5.2 error when updating 2.1.x to 2.2.2

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #14699
    peregrine
    Spectator

    Very nice plugin…
    Site is not live, still working with it. I have a copy on my local computer and on the remote server. I updated on my local box without any errors. On the remote server I get a white page with this:

    Parse error: syntax error, unexpected T_FUNCTION in /home/…../wp-content/plugins/easy-property-listings/lib/shortcodes/shortcode-listing.php on line 88

    This is line 88
    [code]
    `add_filter('epl_sorting_options',function($sorters) {
    foreach($sorters as $key => &$sorter) {
    if($sorter['id'] == 'status_asc' || $sorter['id'] == 'status_desc') {
    unset($sorters[$key]);
    }
    }
    return $sorters;
    });
    [/code]

    I reverted and updated again with the same result. I suspect this is due to an older version of php. The remote server is using 5.2.17. My local server has 5.4.41.
    I wanted to be sure I was correct before I see if I can get the ISP to update php.

    Thanks for any information you can provide.

    #14703
    Merv Barrett
    Keymaster

    Thanks for letting us know about this, will look into it

    #14824
    Merv Barrett
    Keymaster

    Thanks for letting us know, we have downgraded that function to work with PHP 5.2 in the just released Easy Property Listings 2.2.3

    #15015
    peregrine
    Spectator

    Working again. Thank you so much!

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.