• Resolved NightL

    (@nightl)


    In recent weeks I started notice layout issues with the front end of four of my sites. It seemed that all css was stripped.

    This only happened when I was logged in – log out and the issue is not there.

    I unchecked a setting in Autoptimize that I have always used “Also optimise for logged in editors/ administrators?” and the problem went away.

    I figured another plugin must be interfering with Autoptimize and it turned out to be Jetpack.

    I rechecked “Also optimise for logged in editors/ administrators?” in Autoptimize and the problem came back but when I deactivated Jetpack the problem goes away.

    I use Jetpack and Autoptimize on all my sites. The problem is only for four sites while another four sites are fine. There is no real difference in the settings but I even tried turning off all settings in Jetpack but the issue remained.

    I have notified Autoptimize about this as well
    https://www.ads-software.com/support/topic/also-optimise-for-logged-in-administrators-layout-issue-when-logged-in/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support fresatomica

    (@fresatomica)

    Hi there!

    Thanks for all the details. Since this seems to be an issue with the Autoptimize plugin, there’s not much we can do about it but keep us posted in case there’s something we can help with.

    After a lot of digging, this did turn out to be caused by JetPack after all fresatomica; a missing } in the inline CSS in modules/scan/class-admin-bar-notice.php which on the GitHub version is already fixed with this PR: https://github.com/Automattic/jetpack/pull/16155

    Plugin Contributor James Huff

    (@macmanx)

    Thanks, this is on track for the next update. ??

    I am getting below error on my site after installing jetpack, and this error is also intermittent works after refresh. Upon checking with hostinger come to know that DB connection is reaching max whenever jetpack is installed.

    “Error establishing a database connection”

    Debug script gives below details, I had to uninstall the plugins to get the error resolved but as this is good plugin to get the insights, can anyone suggest how to fix the intermittent issue? 7 out of 10 customer gets issue and my website is e-commerce website.

    WordPress database error Commands out of sync; you can’t run this command now for query INSERT INTO wp_options (option_name, option_value, autoload) VALUES (‘_transient_jetpack_file_data_9.1’, ‘a:1:{s:32:\”4fca6eb23a793155d69fdb119a094926\”;a:14:{s:4:\”name\”;s:9:\”Copy Post\”;s:11:\”description\”;s:77:\”Enable the option to copy entire posts and pages, including tags and settings\”;s:4:\”sort\”;s:2:\”15\”;s:20:\”recommendation_order\”;s:0:\”\”;s:10:\”introduced\”;s:3:\”7.0\”;s:7:\”changed\”;s:0:\”\”;s:10:\”deactivate\”;s:0:\”\”;s:4:\”free\”;s:0:\”\”;s:19:\”requires_connection\”;s:2:\”No\”;s:13:\”auto_activate\”;s:2:\”No\”;s:11:\”module_tags\”;s:7:\”Writing\”;s:7:\”feature\”;s:7:\”Writing\”;s:25:\”additional_search_queries\”;s:15:\”copy, duplicate\”;s:12:\”plan_classes\”;s:0:\”\”;}}’, ‘no’) ON DUPLICATE KEY UPDATE option_name = VALUES(option_name), option_value = VALUES(option_value), autoload = VALUES(autoload) made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays, Automattic\Jetpack\Sync\Sender->do_sync_for_queue, do_action(‘jetpack_sync_before_send_queue_sync’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Modules\Callables->maybe_sync_callables, Automattic\Jetpack\Sync\Modules\Callables->get_all_callables, array_map, Automattic\Jetpack\Sync\Modules\Callables->get_callable, call_user_func, Jetpack_Gutenberg::get_availability, do_action(‘jetpack_register_gutenberg_extensions’), WP_Hook->do_action, WP_Hook->apply_filters, Jetpack_Gutenberg::{closure}, Jetpack_Gutenberg::set_availability_for_plan, Jetpack_Plan::supports, Jetpack_Plan::get, Jetpack::get_module, Jetpack::get_file_data, set_transient, add_option

    WordPress database error Commands out of sync; you can’t run this command now for query SELECT autoload FROM wp_options WHERE option_name = ‘_transient_jetpack_file_data_9.1’ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays, Automattic\Jetpack\Sync\Sender->do_sync_for_queue, do_action(‘jetpack_sync_before_send_queue_sync’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Modules\Callables->maybe_sync_callables, Automattic\Jetpack\Sync\Modules\Callables->get_all_callables, array_map, Automattic\Jetpack\Sync\Modules\Callables->get_callable, call_user_func, Jetpack_Gutenberg::get_availability, do_action(‘jetpack_register_gutenberg_extensions’), WP_Hook->do_action, WP_Hook->apply_filters, Jetpack_Gutenberg::{closure}, Jetpack_Gutenberg::set_availability_for_plan, Jetpack_Plan::supports, Jetpack_Plan::get, Jetpack::get_module, Jetpack::get_file_data, delete_transient, delete_option

    WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp_options WHERE option_name = ‘_transient_timeout_jetpack_sync_constants_await’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Sender->do_sync_and_set_delays, Automattic\Jetpack\Sync\Sender->do_sync_for_queue, do_action(‘jetpack_sync_before_send_queue_sync’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Modules\Constants->maybe_sync_constants, get_transient, get_option

    Plugin Contributor Dan (a11n)

    (@drawmyface)

    Could you please start your own thread, as per the Forum Welcome?
    https://www.ads-software.com/support/plugin/jetpack#new-post

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with Jetpack and Autoptimize’ is closed to new replies.