• Resolved edventures

    (@edventures)


    After upgrading Stout Google Calendar to version 1.2.0 on our WP Multisite, it causes the following error:

    Fatal error: Call to undefined function wp_get_current_user() in /OUR_DOMAIN/wp-includes/capabilities.php on line 1059

    Deactivating plugin restores all functionality, deleting and reinstalling this plugin causes problem to recur.

    Would love any ideas on how to troubleshoot as this plugin is great for our school but obviously we can’t use it if it kills our install.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter edventures

    (@edventures)

    Plugin Author stoutdesign

    (@stoutdesign)

    Did you modify the plugin and add this code:

    include_once(ABSPATH . 'wp-includes/pluggable.php');

    The latest version includes internationalization, a new method of retrieving the calendar from Google and a fix to the update code. None of those *should* have affected the bit that deals with user permissions of the plugin.

    Thread Starter edventures

    (@edventures)

    I did and that did the trick. Don’t you just love coding? It’s like raising kids sometimes! Really worthwhile but frustrating as H-E-double hockey sticks!

    Plugin Author stoutdesign

    (@stoutdesign)

    OK, I just added that fix to version 1.2.1 and pushed it to the repository. It should be available very soon.

    Thread Starter edventures

    (@edventures)

    Rock on! And thanks for the plugin, I’m not there yet in my own PHP dev so I really appreciate the efforts of those who develop and share their code. And by extension, my school community thanks you too!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Upgrading Stout Google Calendar kills WPMultisite?’ is closed to new replies.