• Resolved Dr.Wily

    (@drwily)


    Hello,

    I use event calendar on PHP 7 server but I have the following message in WP dashboard :

    The Events Calendar requires PHP 5.6 or higher.
    To allow better control over dates, advanced security improvements and performance gain.
    Contact your Host or your system administrator and ask to upgrade to the latest version of PHP.

    I checked the PHP version and I am on 7.0. I can use 7.1 .2 or .3.

    Plus, since this message The Event Calendar refuse to load. Event Calendar is active in WordPress extensions but I cannot access to it. I only have a message about PHP.

    What’s happening ? Thanks

Viewing 15 replies - 1 through 15 (of 17 total)
  • Barry

    (@barryhughes-1)

    Yikes, sorry to hear that @drwily.

    I fully understand you’ve already paused and confirmed your PHP version, but do you mind telling me how you confirmed this – was it via your web host’s control panel, for instance?

    Do you happen to have a link to your site that you can share?

    This is happening to me too. I checked that I am running PHP version 7.0.33 form my hosts control panel.

    I too do not see any mention of Events Calendar in my WordPress Admin page, other than the message that The Events Calendar requires PHP 5.6 or higher.

    Barry

    (@barryhughes-1)

    OK, well we really appreciate your patience while we look into this and thank you for taking the time to provide these reports.

    You can download version 4.7.4 here (which does not require PHP 5.6) and that ought to provide a means of working around this issue in the meantime.

    If you are able and happy to do that, and can then visit the Events → Help admin screen, you will find a section on that page called “System Information”. Within that, we list the PHP Version. It would be fantastic if you could share what you see there and that might give us a better idea of what is going wrong.

    Thanks again!

    Thread Starter Dr.Wily

    (@drwily)

    Thanks for your help ??

    do you mind telling me how you confirmed this – was it via your web host’s control panel, for instance?

    I setup the version myself in my host control pannel.

    If you are able and happy to do that, and can then visit the Events → Help admin screen

    With the last version there is no event section in WordPress Dashboard.

    Barry

    (@barryhughes-1)

    Hmm, so, just to clarify in case there was any confusion: you successfully rolled back to The Events Calendar 4.7.4, and have it activated, but are not seeing the events menu within the dashboard/admin environment?

    If so, are you using any of our other plugins concurrently?

    Thread Starter Dr.Wily

    (@drwily)

    so, just to clarify in case there was any confusion: you successfully rolled back to The Events Calendar 4.7.4, and have it activated

    No I try this with the last version. With 4.7.4 it works. Here the system information :

    Home URL
        https://www.asso-sc.com
    Site URL
        https://www.asso-sc.com
    Site Language
        fr_FR
    Character Set
        UTF-8
    
    Install keys
        -
    WordPress version
        5.0.3
    Permalink Structure
        https://www.asso-sc.com/%postname%/
    PHP version
        5.4.45
    PHP
    
            max_execution_time = 300
            memory_limit = 512M
            upload_max_filesize = 128M
            post_max_size = 130M
            display_errors = 0
            log_errors =
    
    Server
        Apache
    SAPI
        fpm-fcgi
    Plugins
    
            Akismet Anti-Spam version 4.1.1 by Automattic(https://automattic.com/wordpress-plugins/)
            Change WP Mail From Details version 1.0 by Ruhul Amin(https://www.tipsandtricks-hq.com)
            Convert Post Types version 1.4 by Stephanie Leary(https://stephanieleary.com)
            Facebook Page Plugin (Likebox) version 1.7 by Smakify(https://smakify.com)
            Fancy Gallery Lite version 1.5.37 by Dennis Hoppe(https://DennisHoppe.de)
            Flexo Archives Hack MOD version 2.1.5 b0.1 by Heath Harrelson
            Image Widget version 4.4.7 by Modern Tribe, Inc.(https://m.tri.be/iwpdoc)
            Juiz Social Post Sharer version 1.4.9 by Geoffrey Crofte(https://geoffrey.crofte.fr)
            Fast Secure Contact Form version 4.0.56 by fastsecure(https://www.642weather.com/weather/scripts.php)
            Social version 3.1.1 by Crowd Favorite(https://crowdfavorite.com/)
            Stop Spammers version 7.1 by Bryan Hadaway(https://calmestghost.com/)
            The Events Calendar version 4.7.4 by Modern Tribe, Inc.(https://m.tri.be/1x)
            Update Notifications Manager version 1.1.2 by GeekPress(https://www.geekpress.fr/)
            Widget_custom version 1.0 by DtrAA(https://david.desaunais.fr)
            Wordfence Security version 7.2.2 by Wordfence(https://www.wordfence.com/)
            WP-Filebase version 0.2.9.35 by Fabian Schlieper(https://wpfilebase.com/)
            WP User Avatar version 2.1.6 by flippercode(https://www.flippercode.com/)
            WS Facebook Like Box Widget version 4.1 by WebShouters(https://www.webshouters.com/)
    
    Network Plugins
        -
    MU Plugins
        -
    Theme
        Simm's Club
    Multisite
        -
    Settings
    
            tribeEventsTemplate = page-calendar.php
            tribeEventsBeforeHTML =
            tribeEventsAfterHTML =
            previous_ecp_versions =
    
            Array
            (
                [0] => 0
                [1] => 2.0.11
                [2] => 3.12.3
                [3] => 4.0.7
                [4] => 4.1.2
                [5] => 4.4.2
                [6] => 4.6.8
                [7] => 4.6.25
            )
    
            latest_ecp_version = 4.7.4
            welcome_notice = 1
            displayedPressTrendsDialogue = 1
            donate-link =
            viewOption = month
            eventsSlug = events
            singleEventSlug = event
            postsPerPage = 3
            showComments =
            multiDayCutoff = 12:00
            embedGoogleMaps = 1
            embedGoogleMapsHeight = 350
            embedGoogleMapsWidth = 100%
            embedGoogleMapsZoom = 10
            sendPressTrendsData =
            debugEvents =
            tribeEnableViews =
    
            Array
            (
                [0] => list
                [1] => month
                [2] => day
            )
    
            schema-version = 4.7.4
            recurring_events_are_hidden = hidden
            earliest_date = 2013-04-18 08:00:00
            latest_date = 2019-01-12 08:00:00
            earliest_date_markers =
    
            Array
            (
                [0] => 380
            )
    
            latest_date_markers =
    
            Array
            (
                [0] => 1682
            )
    
            last-update-message-the-events-calendar = 4.7.4
    
    WP Timezone
        Europe/Paris
    WP GMT Offset
        1
    Default PHP Timezone
        UTC
    WP Date Format
        j F Y
    WP Time Format
        G \h i \m\i\n
    Week Starts On
        1
    Common Library Dir
        /home/assosc/www/wp-content/plugins/the-events-calendar/common/src/Tribe
    Common Library Version
        4.8.5 

    This is happening to me too : I upgraded from PHP 5.4.45 to PHP 7.3 with OVH
    and I too do not see any mention of Events Calendar in my WordPress Admin page, other than the message that The Events Calendar requires PHP 5.6 or higher.

    I am getting the same problem.
    I tried to install 4.7.4, but it tells me the plugin folder already exists (“Destination folder already exists”). And I am hesitant to delete the plugin first as WP tells me it will delete the data. Please advise,

    Ziad

    • This reply was modified 6 years, 1 month ago by ziadn.
    • This reply was modified 6 years, 1 month ago by ziadn.

    I had the same problem upgrading to wordpress 5.0.3 then event calendars to 4.8.1
    I check PHP version with Hosteur (my hoster im France), it’s the version 5.6.38
    I re-installed 4.7.4 (thanks very much Barry for the tips)

    Ziadn, I didn’t delete the version 4.8.1. I just gave another name via FTP / plugins (just add a x at the end…)

    once installed older version, You will see 2 Event Calendars, just activate the old one, and I retrieve all my events.

    hope it will help

    Thread Starter Dr.Wily

    (@drwily)

    Any new for this bug ?

    Barry

    (@barryhughes-1)

    Sorry for the delay, @drwily.

    This jumps out at me (from your system information):

    PHP version
        5.4.45

    Though, I know that you earlier noted that, “I use event calendar on PHP 7 server.” So, there seems to be a discrepancy of some kind. Something else that jumps out is that you are using Apache:

    Server
        Apache

    Though the same thing may well be possible with other web servers, something the team were discussing in relation to Apache was the following possible configuration:

    on Apache the user can have a per-folder PHP version

    In other words, your hosting account may have PHP 7.x as the default, but it may be that things are configured in such a way that PHP 5.4 (in this case) is used for the directory where your WordPress installation lives.

    This would explain what we are seeing in your system information. Can you take a fresh look at your hosting setup and/or check in with your host on this point?

    Here is some relevant advice from a third party blog: if you are using a shared hosting account you may not be able to follow the recommended steps, but you could in turn share it with your web host’s support team.

    Does this get us closer to a solution?

    Thread Starter Dr.Wily

    (@drwily)

    OK, thank. I will contact my host to found what the problem is.

    deuveudeu, thank you, that worked,

    Ziad

    Thread Starter Dr.Wily

    (@drwily)

    Thanks Barry, your solution works. Actually, there is my host config that force the use of PHP 5.4.

    On my host dashboard the configuration is setup to PHP 7.3. But, on the host’s storage there is a config file that force the PHP version.

    My host is OVH and it’s necessary to fix the config like this :

    – file .OVHCONFIG at the root of the storage (delete all .OVHCONFIG in sub folder otherwise these file take over the one at the root unless if you want use other versions of PHP). Add or modify the following line :

    app.engine.version=7.3

    – file .htaccess at the root + in wordpress installation folder. Add or modify the following line :

    SetEnv PHP_VER 7_3

    Now, the last version of Event Calendar works perfectly and the warning about older version of PHP disappear.

    Thanks for the help.

    Ed

    (@erishel)

    Nice!

    Since you’ve got this solved, I’m going to mark this topic as resolved.

    Don’t hesitate to reach out if you need assistance again!

    Take care,
    Ed ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘PHP 5.6 warning but I have PHP 7’ is closed to new replies.