php 7.0

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1320578
    Cara
    Participant

    We are trying to update site to php 7.0 but this plugin has errors preventing login to the back end (wp-admin). Will there be an update to address this?

    #1320868
    Patricia
    Member

    Hey Cara,

    Thanks for contacting us! Can you please share with us the Fatal errors you find after upgrading your PHP version? We are not aware of any incompatibility issue associated with PHP 7.0: my own site is running with PHP 7.0 and all of our premium plugins enabled without any problems.

    There’s probably a conflict going on.  Please send us further information and we will be happy to assist!

    Regards,

    Patricia

    #1320945
    Cara
    Participant

    We switched over to php 7.0 after SG Optimizer said we were compatible and got the warning below. We were locked out of the back-end until Siteground disabled the Event Calendar Pro.

    Fatal error: Uncaught Error: Call to undefined method TGMPA_Utils::() in /home/bawdc013/public_html/wp-content/themes/dance-studio-new/framework/class/class-tgm-plugin-activation.php:1316 Stack trace: #0 /home/bawdc013/public_html/wp-content/themes/dance-studio-new/framework/class/class-tgm-plugin-activation.php(2049): TGM_Plugin_Activation->register(Array) #1 /home/bawdc013/public_html/wp-content/themes/dance-studio-new/framework/admin/inc/plugin-activator.php(118): tgmpa(Array, Array) #2 /home/bawdc013/public_html/wp-includes/class-wp-hook.php(298): dance_studio_register_theme_plugins(”) #3 /home/bawdc013/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #4 /home/bawdc013/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/bawdc013/public_html/wp-content/themes/dance-studio-new/framework/class/class-tgm-plugin-activation.php(408): do_action(‘tgmpa_register’) #6 /home/bawdc013/public_html/wp-includes/class-wp-hook.php(298): TGM_Plugin_Activation->init(”) #7 /home/ in /home/bawdc013/public_html/wp-content/themes/dance-studio-new/framework/class/class-tgm-plugin-activation.php on line 1316

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ” not found or invalid function name in /home/bawdc013/public_html/wp-includes/class-wp-hook.php on line 298

    #1321205
    Patricia
    Member

    Hi Cara,

    Thanks for sending us further information on this! The PHP Fatal error you shared is associated with your current active theme Dance Studio (dance-studio-new) and not with The Events Calendar.

    You can confirm that by temporarily changing your theme to another one like twentyseventeen (the default WordPress theme), and enabling The Events Calendar again. You will find further information about how to test for conflicts in this article.

    Please run this test and let us know your results.

    If you have any other questions in the meantime, please let us know!

    Regards,

    Patricia

    #1321454
    Cara
    Participant

    I switched the theme to twenty seventeen & php 7.0 & site was locked out with the following error. I deactivated Event Calendar Pro and php 7.0 and site worked fine.

    Fatal error: require_once(): Failed opening required ‘/home/bawdc013/public_html/’ (include_path=’.:/usr/local/php70/pear’) in /home/bawdc013/public_html/wp-admin/includes/admin.php on line 23

    Surprisingly the site continued to work when I switched the theme back to Dance Studio.

    I had the following recommendations from the theme:

    The following recommended plugins are currently inactive: Contact Form 7, Instagram Feed, The

      Events Calendar and Timetable

    .
    Begin activating plugins | Dismiss this notice

    I know we don’t use Timetable but we apparently need Event Calendar.
    When I tried to enable Event Calendar I get this

    Fatal error: Uncaught Error: Call to undefined method Tribe__Customizer::() in /home/bawdc013/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Customizer/Section.php:162 Stack trace: #0 /home/bawdc013/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(418): `->__construct() #1 /home/bawdc013/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(341): Tribe__Events__Main->bind_implementations() #2 /home/bawdc013/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.php(2800): Tribe__Events__Main->plugins_loaded() #3 /home/bawdc013/public_html/wp-includes/class-wp-hook.php(298): Tribe__Events__Main::activate(”) #4 /home/bawdc013/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #5 /home/bawdc013/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/bawdc013/public_html/wp-admin/plugins.php(166): do_action(‘activate_the-ev…’) #7 {main} thrown in /home/bawdc013/public_html/wp-content/plugins/the-events-calendar/common/src/Tribe/Customizer/Section.php on line 162

    #1321884
    Patricia
    Member

    Hi Cara,

    Thanks for sending us the results of your test! Can you please confirm if the issue persists if you disable all of your active plugins and only The Events Calendar is enabled?

    Also, may I ask how are you switching your PHP versions back and forth from 5.6.31 to 7.0? Are you upgrading and downgrading the versions in your server or do you have different servers running different PHP versions with the same site installed (i.e. staging and live server)?

    Regards,

    Patricia

    #1321895
    Cara
    Participant

    Siteground cPanel has a php Version Manager that changes .htaccess and their software picks up the change immediately. Essentially all php versions are installed on their server and the .htaccess designates the active version for the folder.

    #1321900
    Cara
    Participant

    Looks like these 2 plugins crash with php 7.0 & the calendar programs (
    The Events Calendar, The Events Calendar Pro) running. We can live without them.

  • Jetpack
    UpdraftPlus
  • We have about 17 plugins running but many are required by the theme & cart.

#1322130
Patricia
Member

Hi Cara,

Good to know you were able to find the source of the conflict! I’ve installed both Jetpack and UpdraftPlus in my own site (running PHP 7.0), but I couldn’t replicate this error from my end, maybe there’s a conflict associated with other plugins (or theme) you have enabled in your site.

Anyway, UpdraftPlus is a backup plugin, so if you want to backup your site you can replace it with another plugin like BackWPup if necessary (for compatibility purposes).

Let me know if you need anything else or have any other questions and I’ll be happy to assist!

Regards,

Patricia

#1322904
Cara
Participant

I took your advice on BackWPup & it crashes when you try to run their dashboard.

500 – Internal Server Error
This is a temporary server error.
Please try to reload the webpage later.

#1323210
Patricia
Member

Hi Cara,

I’m sorry to know this alternative didn’t work for you as well. I would suggest you to ask your hosting provider if they have any recommended plugin to backup your site based on their server setup.

Let me know if you have any other questions in the meantime!

Regards,

Patricia

#1333506
Support Droid
Keymaster

Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

Thanks so much!
The Events Calendar Support Team

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘php 7.0’ is closed to new replies.