• Hi,
    I have the same problem as in post http://wordpress.org/support/topic/events-not-displaying-depending-on-user-role?replies=7 , that means that events only are displayed when I´m logged in. Deactivating plugins and updating the theme didn´t brought any effect.

    In FullCalendar-Options I found this message: “Warning: Invalid argument supplied for foreach() in /www/htdocs/w0101529/pt-wp/wp-content/plugins/wp-fullcalendar/wpfc-admin.php on line 144”

    content up to line 142 of wpfc-admin.php is the following:

    //get theme CSS files
    								"$plugin_path = get_stylesheet_directory()."/plugins/wp-fullcalendar/";
    								foreach( glob( $plugin_path.'*.css') as $css_file ){
    									$css_file = str_replace($plugin_path,'',$css_file);
    									$css_custom_files[$css_file] = get_stylesheet_directory_uri()."/plugins/wp-fullcalendar/".$css_file;
    								}
    								?>

    I use the included black-tie.css-Theme and Events Manager.

    Any help or idea would be very appreciated.
    Thanks in advance,

    http://wordpress.org/plugins/wp-fullcalendar/

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

    (@angelo_nwl)

    can I know what is your current EM, WPFC and wordpress version please? and do you have sample link for us to see.

    Thread Starter michi2009

    (@michi2009)

    Hi,

    thanks a lot for your message, versions are as follows:

    Customer Site and my test-site:

    WP Version. 3.7.1
    EM Version: 5.5.2
    WP FullCalendar: 0.8.4

    Link of customer site, there you can see calender entries only when you logged in: http://www.pt-reutlingen.de/terminkalender/

    Link of my test-site (copy) where I can see the entries always, that means when I´m logged out, too.

    I have deactivated all Plugins and installed Events Manager and WP Full Calendar a second time, all without success.

    I found this message on customer site (see images).

    https://www.dropbox.com/s/mrj61kc3jumozzk/WP%20FullCalendar-Error-Message-Customer-Site.png
    https://www.dropbox.com/s/rux2a3u9qk07opn/wpfc-admin.php-customer-site.png

    If you need I can send you login credentials per PN.
    Any help is very appreciated, thanks a lot in advance.

    Thread Starter michi2009

    (@michi2009)

    Sorry I forgot to give link of my test-site: http://testpt.web-by-michi.de/gruppentraining/

    thanks!!

    Thread Starter michi2009

    (@michi2009)

    Hi,
    I tried again and copied the wp installation from test-site to another subdomain on customer webspace. The events aren´t visible there. Do you have any idea if this could be a hoster problem and if, what?, because on test site it´s always ok, on customer webspace not. Maybe the plugin need some permissions or something? Thanks a lot for a response.

    Any word on this? Seems to be a common issue…

    I have the same problem… can anyone help please?

    Resolved! I had this old code in function.php:

    add_action( 'admin_init', 'my_remove_menu_pages' );
    function my_remove_menu_pages() {
        global $userdata;
        get_currentuserinfo();
    
        if ($userdata->ID != 1) {
            remove_menu_page('profile.php','profile.php');
        }
    
    function ya_do_it_admin_bar_remove() {
            global $wp_admin_bar;
    
            /* **edit-profile is the ID** */
            $wp_admin_bar->remove_menu('edit-profile');
     }
    
    add_action('wp_before_admin_bar_render', 'ya_do_it_admin_bar_remove', 0);

    Now it works!

    I am also experiencing this issue, has anyone got a fix for this?

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

The topic ‘Events Not Displaying when logged out’ is closed to new replies.