• Resolved ysakurai

    (@ysakurai)


    I am using non-pro events manager and found a problem.
    When I upgraded php to 7.1, admin dashboard pages have became invisible.
    So then I moved to events manager plugin directory from wordpress to other area, then I can see admin dashboard page.
    I am considering to purchase pro version so would like to know if pro version supports php7.1.

    Here is debug message.

    Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/html/wordpress/wp-content/plugins/events-manager/classes/em-events.php:63 Stack trace: #0 /var/www/html/wordpress/wp-content/plugins/events-manager/classes/em-events.php(124): EM_Events::get(Array, true) #1 /var/www/html/wordpress/wp-content/plugins/events-manager/admin/em-admin.php(21): EM_Events::count(Array) #2 /var/www/html/wordpress/wp-includes/class-wp-hook.php(298): em_admin_menu(”) #3 /var/www/html/wordpress/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #4 /var/www/html/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /var/www/html/wordpress/wp-admin/includes/menu.php(149): do_action(‘admin_menu’, ”) #6 /var/www/html/wordpress/wp-admin/menu.php(282): require_once(‘/var/www/html/w…’) #7 /var/www/html/wordpress/wp-admin/admin.php(138): require(‘/var/www/html/w…’) #8 /var/www/html/wordpress/wp-admin/index.php(10): require_once(‘/var/www/html/w…’) #9 {main} thrown in /var/www/html/wordpress/wp-content/plugins/events-manager/classes/em-events.php on line 63

    Thanks,
    ysakurai

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    just to confirm, does it happen on php7.0 ? also, just to narrow down the problem and help us debug the issue is it possible to try the following 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

    Thread Starter ysakurai

    (@ysakurai)

    Hi Angelo,

    Sorry for delay response. I will check what you mentioned.
    Once the results comes out then let you know.

    Thanks,
    ysakurai

    I have the same problem with PHP 7.1 and I solved it change the line 36
    $groupby_sql = ”;
    by
    $groupby_sql = [];

    I think the problem is when try to use the variable $groupby_sql ($groupby_sql[] = … ; lines 60 and 63) as an array when it is an string.

    was this change in the php.ini?

    `plugins/events-manager/classes/em-events.php on line 63

    Just to let you know there’s a new version of plugin due shortly that will correct issues with PHP 7.

    just caught this 2nd thread. Any update on the fix release?

    Sorry, nothing new to add at the moment.

    has this been updated to support php7? Just curious before I move my site to php 7.

    caimin_nwl

    (@caimin_nwl)

    The Dev version of the plugin contains fixes for PHP7. The stable version will be upgraded to include these fixes soon.

    http://wp-events-plugin.com/documentation/upgrade-dev-version/

    that is very helpful. and one last question… do you guys have an estimate when the public version will go live?

    caimin_nwl

    (@caimin_nwl)

    Sorry, I’m not able to say more than “very soon” at the moment.

    Todd Edelman

    (@toddedelman)

    Hi there. This post was regarding 7.1, but is the plugin compatible already with 7.0?

    caimin_nwl

    (@caimin_nwl)

    The latest version is compatible with all versions.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Does events manager pro support php7.1?’ is closed to new replies.