• Hi, it seems the plugin has some issues with linux PHP 7.4. I got the following message from curl :

    All-in-One Event Calendar: Array and string offset access syntax with curly braces is deprecated @ /var/www/dga.info-suivi.top/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php:1771 #8192

    Have you some ideas about compatibility ?
    Dan

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello, same issue on my end.

    All-in-One Event Calendar: Array and string offset access syntax with curly braces is deprecated @ C:\inetpub\wwwroot\wp-content\plugins\all-in-one-event-calendar\lib\routing\router.php:166 #8192

    I cannot revert to a previous PHP, but the calendar appears to be working just fine.

    jomo

    (@jonathanmoorebcsorg)

    also seeing a lot of repeated PHP warnings which also assume are PHP7.4:

    [03-May-2020 20:22:23 UTC] All-in-One Event Calendar: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead @ plugins/all-in-one-event-calendar/app/controller/front.php:934 #8192
    [03-May-2020 20:22:23 UTC] All-in-One Event Calendar: Trying to access array offset on value of type int @ plugins/all-in-one-event-calendar/lib/date/time.php:406 #8

    Sme here, I had to go back to PHP 7.3. All is fine now.

    Def. a PHP 7.4 problem

    Same problem on our logs:

    Many of “Array and string offset access syntax with curly braces is deprecated” on different files

    PHP Version 7.4.5
    Plugin Version 2.6.3

    We can′t downgrade php version

    jomo

    (@jonathanmoorebcsorg)

    not withstanding the 2.6.3 update logs are still filling with errors:
    [25-May-2020 10:44:14 UTC] All-in-One Event Calendar: Trying to access array offset on value of type int @ /wp-content/plugins/all-in-one-event-calendar/lib/date/time.php:406 #8

    jomo

    (@jonathanmoorebcsorg)

    what’s happening?
    2 releases supposed to address this but still not fixed:

    VERSION 2.6.4
    Fixed deprecated syntax in PHP 7.4
    VERSION 2.6.3
    Fixed compatibility with PHP 7.4
    Changed memory limit checking.

    still repetitively logging:

    [31-May-2020 20:21:32 UTC] All-in-One Event Calendar: Trying to access array offset on value of type int @ wp-content/plugins/all-in-one-event-calendar/lib/date/time.php:406 #8

    Same issue over here…

    jomo

    (@jonathanmoorebcsorg)

    Guys, now a third release to fix PHP 7.4 which still doesn’t fix PHP7.4…

    VERSION 2.6.5
    Remove use of get_magic_quotes_gpc() for PHP 7.4
    VERSION 2.6.4
    Fixed deprecated syntax in PHP 7.4
    VERSION 2.6.3
    Fixed compatibility with PHP 7.4
    Changed memory limit checking.

    after 2.6.5 install repeatedly logging eg:
    [16-Jun-2020 21:13:29 UTC] All-in-One Event Calendar: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead @ wp-content/plugins/all-in-one-event-calendar/vendor/twig/Template.php:402 #8192

    We’ve been bitten by 7.4 issues with Time.ly also. I get the impression they are not interested in supporting WP plugins any more — they are hoping everyone will buy their hosted product. The thing is we pay for their hosted service (which is not bad), but we also need stand-alone calendars on smaller sites. Starting to look at alternatives.

    This is the error we get (php 7.4 with mysql 8. Their “solution” is to sell me more hosted hub calendars:

    Database update has failed. Please make sure, that database user, defined in wp-config.php has permissions, to make changes (ALTER TABLE) to the database.

    Error encountered: Field wp_ai1ec_events.post_id is of incompatible type

    Error Details:
    #0 /var/www/wpmu/wp-content/plugins/all-in-one-event-calendar/lib/database/helper.php(283): Ai1ec_Database_Helper->_check_delta()
    #1 /var/www/wpmu/wp-content/plugins/all-in-one-event-calendar/app/controller/front.php(1077): Ai1ec_Database_Helper->apply_delta()
    #2 /var/www/wpmu/wp-content/plugins/all-in-one-event-calendar/app/controller/front.php(291): Ai1ec_Front_Controller->_initialize_schema()
    #3 /var/www/wpmu/wp-content/plugins/all-in-one-event-calendar/app/controller/front.php(62): Ai1ec_Front_Controller->_init()
    #4 /var/www/wpmu/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php(88): Ai1ec_Front_Controller->initialize()
    #5 /var/www/wpmu/wp-settings.php(371): include_once(‘/var/www/wpmu/w…’)
    #6 /var/www/wpmu/wp-config.php(110): require_once(‘/var/www/wpmu/w…’)
    #7 /var/www/wpmu/wp-load.php(37): require_once(‘/var/www/wpmu/w…’)
    #8 /var/www/wpmu/wp-admin/admin.php(34): require_once(‘/var/www/wpmu/w…’)
    #9 /var/www/wpmu/wp-admin/index.php(10): require_once(‘/var/www/wpmu/w…’)
    #10 {main}

    Request Uri: /rtest/wp-admin/?ai1ec_reactivate_plugin=true

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Issue with PHP 7.4’ is closed to new replies.