Viewing 15 replies - 1 through 15 (of 29 total)
  • Jashan

    (@jashan)

    Hello,

    Are you using linux boxes Server?

    Thread Starter raacademy

    (@raacademy)

    Hello @jashan

    Yes we are using a Linux web server. Migrated initially from windows.

    Fabmaclover

    (@fabmaclover)

    i am having the same problem…

    Also, i got this error message when i updated to Version 2.0.4:

    Warning: array_search() expects parameter 2 to be array, object given in /home/ispir190/public_html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160

    Fatal error: Cannot use object of type stdClass as array in /home/ispir190/public_html/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160

    nicola.peluchetti

    (@nicolapeluchetti)

    @fabmaclover can you tell me what you have on line 160?Because version 2.0.4 of the calendar has an all-in-one-event-calendar.php which is 83 lines long. Did you revert back to 1.10.11?Because that will not work

    Fabmaclover

    (@fabmaclover)

    @nicola.peluchetti, thank you for your prompt response

    i never revert to 1.10.11 i always followed the instructions to update the plugging to the next version….

    i dont have line 160, as you mentioned it stops at line 83.. very confusing…

    Below a copy of my all-in-one-event-calendar.php

    <?php
    /**
     * Plugin Name: All-in-One Event Calendar by Time.ly
     * Plugin URI: http://time.ly/
     * Description: A calendar system with month, week, day, agenda views, upcoming events widget, color-coded categories, recurrence, and import/export of .ics feeds.
     * Author: Time.ly Network Inc.
     * Author URI: http://time.ly/
     * Version: 2.0.4
     * Text Domain: all-in-one-event-calendar
     * Domain Path: /language
     */
    
    $ai1ec_base_dir = dirname( __FILE__ );
    $ai1ec_base_url = plugins_url( '', __FILE__ );
    
    $ai1ec_config_path = $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'app' .
    		DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR;
    
    // Include configuration files and initiate global constants as they are used
    // By the error/exception handler too.
    foreach ( array( 'constants-local.php', 'constants.php' ) as $file ) {
    	if ( is_file( $ai1ec_config_path . $file ) ) {
    		require_once $ai1ec_config_path . $file;
    	}
    }
    
    if ( ! function_exists( 'ai1ec_initiate_constants' ) ) {
    	throw new Ai1ec_Exception(
    			'No constant file was found.'
    	);
    }
    ai1ec_initiate_constants( $ai1ec_base_dir, $ai1ec_base_url );
    
    require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' .
    	DIRECTORY_SEPARATOR . 'exception' . DIRECTORY_SEPARATOR . 'ai1ec.php';
    require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' .
    	DIRECTORY_SEPARATOR . 'exception' . DIRECTORY_SEPARATOR . 'error.php';
    require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' .
    	DIRECTORY_SEPARATOR . 'exception' . DIRECTORY_SEPARATOR . 'handler.php';
    require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' .
    	DIRECTORY_SEPARATOR . 'http' . DIRECTORY_SEPARATOR . 'response' .
    	DIRECTORY_SEPARATOR . 'helper.php';
    $ai1ec_exception_handler = new Ai1ec_Exception_Handler(
    	'Ai1ec_Exception',
    	'Ai1ec_Error_Exception'
    );
    
    // if the user clicked the link to reactivate the plugin
    if ( isset( $_GET[Ai1ec_Exception_Handler::DB_REACTIVATE_PLUGIN] ) ) {
    	$ai1ec_exception_handler->reactivate_plugin();
    }
    $soft_disable_message = $ai1ec_exception_handler->get_disabled_message();
    if ( false !== $soft_disable_message ) {
    	return $ai1ec_exception_handler->show_notices( $soft_disable_message );
    }
    
    $prev_er_handler = set_error_handler(
    	array( $ai1ec_exception_handler, 'handle_error' )
    );
    $prev_ex_handler = set_exception_handler(
    	array( $ai1ec_exception_handler, 'handle_exception' )
    );
    $ai1ec_exception_handler->set_prev_er_handler( $prev_er_handler );
    $ai1ec_exception_handler->set_prev_ex_handler( $prev_ex_handler );
    
    // Regular startup sequence starts here
    
    require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' .
    	DIRECTORY_SEPARATOR . 'bootstrap' . DIRECTORY_SEPARATOR . 'loader.php';
    
    require $ai1ec_base_dir . DIRECTORY_SEPARATOR . 'lib' .
    	DIRECTORY_SEPARATOR . 'global-functions.php';
    
    $ai1ec_loader = new Ai1ec_Loader( $ai1ec_base_dir );
    $ai1ec_loader->register_map(
    	$ai1ec_base_dir . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR .
    	'composer' . DIRECTORY_SEPARATOR . 'autoload_classmap.php'
    );
    @ini_set( 'unserialize_callback_func', 'spl_autoload_call' );
    spl_autoload_register( array( $ai1ec_loader, 'load' ) );
    
    $ai1ec_front_controller = new Ai1ec_Front_Controller();
    $ai1ec_front_controller->initialize( $ai1ec_loader );
    nicola.peluchetti

    (@nicolapeluchetti)

    it looks like you still have 1.10.11 installed and active then, as that call relates to standard

    jponton

    (@jponton)

    I manage a small wordpress site for a dance studio. I believe I was using WP 3.7 with the standard version of All in One. Yesterday, was working on the site and All in One said an upgrade was available. I hit the upgrade button.

    The site now looks like this. The events have taken over the home page: http://www.kineticsdance.org/

    And I am locked out of editing anything. The dashboard has been taken over. The plugin menu is not available so I cannot disable All in One from there.

    I have been going through all the support threads. I tried renaming the folder manually, deleting the folder, installing an older version and nothing has worked.

    The rest of the site is in tact. I would like to completely delete All in One and then once the site is restored study my options.

    Should I delete the folder manually and then go into the MySQL database and delete anything with themes-ai1ec in the title?

    nicola.peluchetti

    (@nicolapeluchetti)

    actually nothing is shown. If you want to uninstall, why don’t you use the uninstall function from the wordpress plugin page?

    jponton

    (@jponton)

    The dashboard has been taken over. When I log in the only menu items i see are home, updates, media, tables press (the other plugin) users, and grand college, which is the theme. I can’t disable it from there. I would like to delete from the back end but do I need to go into the mysql database and delete all the entries there?

    Thank you!

    jponton

    (@jponton)

    Also, I tried to upload a backup into a folder called “new site” and delete the plugin from the dashboard there and update the current site and this is the error message i get:

    Fatal error: Call to a member function set_defaults() on a non-object in /home/14/23/2922314/web/newsite/wp-content/plugins/all-in-one-event-calendar/app/model/class-ai1ec-settings.php on line 434

    Hi jponton,

    Change user roles in your database, in phpmyadmin or where you can edit database -> wp_options -> wp_user_roles

    1. http://i.imgur.com/nMUhhen.jpg
    2. http://i.imgur.com/1vXqdMG.jpg

    replace current code with:

    a:6:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:79:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:1;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:9:"add_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;s:16:"read_ai1ec_event";b:1;s:16:"edit_ai1ec_event";b:1;s:17:"edit_ai1ec_events";b:1;s:24:"edit_others_ai1ec_events";b:1;s:25:"edit_private_ai1ec_events";b:1;s:27:"edit_published_ai1ec_events";b:1;s:18:"delete_ai1ec_event";b:1;s:19:"delete_ai1ec_events";b:1;s:26:"delete_others_ai1ec_events";b:1;s:29:"delete_published_ai1ec_events";b:1;s:27:"delete_private_ai1ec_events";b:1;s:20:"publish_ai1ec_events";b:1;s:25:"read_private_ai1ec_events";b:1;s:24:"manage_events_categories";b:1;s:18:"manage_ai1ec_feeds";b:1;s:19:"switch_ai1ec_themes";b:1;s:20:"manage_ai1ec_options";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:49:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:16:"read_ai1ec_event";b:1;s:16:"edit_ai1ec_event";b:1;s:17:"edit_ai1ec_events";b:1;s:24:"edit_others_ai1ec_events";b:1;s:25:"edit_private_ai1ec_events";b:1;s:27:"edit_published_ai1ec_events";b:1;s:18:"delete_ai1ec_event";b:1;s:19:"delete_ai1ec_events";b:1;s:26:"delete_others_ai1ec_events";b:1;s:29:"delete_published_ai1ec_events";b:1;s:27:"delete_private_ai1ec_events";b:1;s:20:"publish_ai1ec_events";b:1;s:25:"read_private_ai1ec_events";b:1;s:24:"manage_events_categories";b:1;s:18:"manage_ai1ec_feeds";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:25:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;s:16:"read_ai1ec_event";b:1;s:16:"edit_ai1ec_event";b:1;s:17:"edit_ai1ec_events";b:1;s:24:"edit_others_ai1ec_events";b:1;s:25:"edit_private_ai1ec_events";b:1;s:27:"edit_published_ai1ec_events";b:1;s:18:"delete_ai1ec_event";b:1;s:19:"delete_ai1ec_events";b:1;s:26:"delete_others_ai1ec_events";b:1;s:29:"delete_published_ai1ec_events";b:1;s:27:"delete_private_ai1ec_events";b:1;s:20:"publish_ai1ec_events";b:1;s:25:"read_private_ai1ec_events";b:1;s:24:"manage_events_categories";b:1;s:18:"manage_ai1ec_feeds";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}s:21:"ai1ec_event_assistant";a:2:{s:4:"name";s:17:"Event Contributor";s:12:"capabilities";a:5:{s:4:"read";b:1;s:7:"level_0";b:1;s:20:"publish_ai1ec_events";b:1;s:17:"edit_ai1ec_events";b:1;s:18:"delete_ai1ec_event";b:1;}}}

    jponton

    (@jponton)

    Thank you so much for helping me. Here is a screen shot of my database. I can’t find the user_roles under wp_options:

    https://www.dropbox.com/s/xio6tm1wvnry6lk/Screenshot%202014-04-15%2010.19.01.png

    And can you see all the wp_ai1ec items at the top? Can they be deleted?

    jponton

    (@jponton)

    I have the all in one folder name calendar right now, is that the reason it isn’t showing up in the database? If it rename it All in One the whole site just shows the fatal error:

    Fatal error: Call to a member function set_defaults() on a non-object in /home/14/23/2922314/web/newsite/wp-content/plugins/all-in-one-event-calendar/app/model/class-ai1ec-settings.php on line 434

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘Settings won't update (2.0.4)’ is closed to new replies.