Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter [email protected]

    (@eivindehgmailcom)

    Sweet! That did the trick also. Thank you so much!

    Thread Starter [email protected]

    (@eivindehgmailcom)

    I checked the “Also aggregate inline JS?” option, and now things look ok. I’ll keep an eye on it for a while, and hope this was what I needed.

    Thread Starter [email protected]

    (@eivindehgmailcom)

    Hi

    Adding ?ao_noptimize=1 to the URL fixes everything, yes!

    I’ll look into the FAQ URL you sent me!

    Thread Starter [email protected]

    (@eivindehgmailcom)

    Hello

    I finally have time to work on this again.

    I tried to enable the plugin and debug like you suggested, and here’s the result:

    Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged.
    VM120:2251 Uncaught ReferenceError: _ is not defined
    at VM120:2251
    (anonymous) @ VM120:2251
    VM122:2257 Uncaught ReferenceError: wp is not defined
    at VM122:2257
    at VM122:2260
    (anonymous) @ VM122:2257
    (anonymous) @ VM122:2260
    VM123:2266 Uncaught ReferenceError: wp is not defined
    at VM123:2266
    at VM123:2267
    (anonymous) @ VM123:2266
    (anonymous) @ VM123:2267
    VM124:2273 Uncaught ReferenceError: wp is not defined
    at VM124:2273
    at VM124:2274
    (anonymous) @ VM124:2273
    (anonymous) @ VM124:2274
    VM125:2277 Uncaught ReferenceError: wp is not defined
    at VM125:2277
    (anonymous) @ VM125:2277
    VM126:2281 Uncaught ReferenceError: moment is not defined
    at VM126:2281
    (anonymous) @ VM126:2281
    VM127:2287 Uncaught ReferenceError: wp is not defined
    at VM127:2287
    at VM127:2288
    (anonymous) @ VM127:2287
    (anonymous) @ VM127:2288
    VM128:2294 Uncaught ReferenceError: wp is not defined
    at VM128:2294
    at VM128:2295
    (anonymous) @ VM128:2294
    (anonymous) @ VM128:2295
    VM129:2298 Uncaught ReferenceError: wp is not defined
    at VM129:2298
    (anonymous) @ VM129:2298
    VM130:2304 Uncaught ReferenceError: wp is not defined
    at VM130:2304
    at VM130:2305
    (anonymous) @ VM130:2304
    (anonymous) @ VM130:2305
    VM131:2311 Uncaught ReferenceError: wp is not defined
    at VM131:2311
    at VM131:2312
    (anonymous) @ VM131:2311
    (anonymous) @ VM131:2312
    VM132:2318 Uncaught ReferenceError: wp is not defined
    at VM132:2318
    at VM132:2319
    (anonymous) @ VM132:2318
    (anonymous) @ VM132:2319
    autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
    autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409 Uncaught TypeError: Cannot read property ‘flowRight’ of undefined
    at Module.308 (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409)
    at r (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409)
    at wp.data.0 (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409)
    at autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
    308 @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
    r @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
    wp.data.0 @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
    (anonymous) @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:409
    (index):2585 Uncaught TypeError: $(…).JIGphotoSwipe is not a function
    at window.jigAddLightbox1 ((index):2585)
    at W (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:880)
    at c.justifiedImageGrid.t.createGallery (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:871)
    at c.justifiedImageGrid.t.init (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:858)
    at new c.justifiedImageGrid (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:930)
    at HTMLDivElement.<anonymous> (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931)
    at Function.each (jquery.js:2)
    at a.fn.init.each (jquery.js:2)
    at a.fn.init.c.fn.justifiedImageGrid (autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931)
    at initJIG ((index):2585)
    window.jigAddLightbox1 @ (index):2585
    W @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:880
    t.createGallery @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:871
    t.init @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:858
    c.justifiedImageGrid @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:930
    (anonymous) @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931
    each @ jquery.js:2
    each @ jquery.js:2
    c.fn.justifiedImageGrid @ autoptimize_3fee43e1b763ac98c742b5aeeaf3f8d2.js:931
    initJIG @ (index):2585
    initJIG @ (index):2585
    (anonymous) @ (index):2586
    i @ jquery.js:2
    fireWith @ jquery.js:2
    ready @ jquery.js:2
    K @ jquery.js:2
    (index):3152 Uncaught TypeError: jQuery(…).magnificPopupAU is not a function
    at ytc_init_MPAU ((index):3152)
    at (index):3152
    at dispatch (jquery.js:3)
    at r.handle (jquery.js:3)
    ytc_init_MPAU @ (index):3152
    (anonymous) @ (index):3152
    dispatch @ jquery.js:3
    r.handle @ jquery.js:3
    load (async)
    add @ jquery.js:3
    (anonymous) @ jquery.js:3
    each @ jquery.js:2
    each @ jquery.js:2
    sa @ jquery.js:3
    on @ jquery.js:3
    (anonymous) @ (index):3152

    Thread Starter [email protected]

    (@eivindehgmailcom)

    This is actually exactly what I want. Is it possible to incorporate it in wordpress in any way?

    Thread Starter [email protected]

    (@eivindehgmailcom)

    I see..

    I don’t know if this changes anything, but this is kinda what I’m looking for..

    I just want to have more “slides” and put both text and images in each slide.

    I guess it would be possible to get this piece of code to run on my site, but I was hoping for a plugin or shortcode or something with the effect.

    But thanks anyway ??

    Thread Starter [email protected]

    (@eivindehgmailcom)

    Thanks, but I can’t change the whole theme :/

    Thread Starter [email protected]

    (@eivindehgmailcom)

    Hi again. I managed to find a fix for this.

    In the theme’s functions.php-file i deleted three lines of code including JQuery.

    In my theme, it looked like this:

    add_action( 'wp_print_scripts', 'woothemes_add_javascript' );
    function woothemes_add_javascript( ) {
    	wp_enqueue_script('jquery');
    	wp_enqueue_script( 'tabs', get_bloginfo('template_directory').'/includes/js/tabs.js', array( 'jquery' ) );
    }

    I know others have done the same with success.

    You could also try adding JQuery from Google’s API. Add this code after <?php in the top of your document:

    //Making jQuery Google API
    function modify_jquery() {
    	if (!is_admin()) {
    		// comment out the next two lines to load the local copy of jQuery
    		wp_deregister_script('jquery');
    		wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js', false, '1.8.1');
    		wp_enqueue_script('jquery');
    	}
    }
    add_action('init', 'modify_jquery');

    Hope this helps others with the same problem.

    Hey everyone.

    This problem gave me THE worst day today, but I finally found a fix that did the trick for me.

    I downloaded MySQL workbench and logged into my MySQL database.

    Then I edited the wp_user_roles in the wp_options table (where “wp” is your database prefix)

    The calendar plugin had added a lot of new user roles, and I believe that is what screwed everything up. So I deleted the value (something like: a:6:{s:13:”administrator”;a:2:{s:4:”name”;s:13:”Adm……) and copied in the wordpress default user values (you can find them here)

    I also searched for ai1ec in the wp_options table and changed autoload to “no” for all the options with ai1ec in their name.

    I’m definitely not installing the all-in-one-calendar plugin again.
    Hopefully this can help others in the same situation. I hope so, because it’s been a really, really shitty day :S

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