• theelementmedia

    (@theelementmedia)


    I am receiving this error message. It seems like Autoptimize is cause issues, I have uninstalled the plugin but still get this same error message when trying to process subscription renewals on my woocommerce website.

    Error message:

    2023-11-30T16:09:04+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/wp-includes/functions.php on line 650

    2023-11-30T16:11:03+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 417792 bytes) in /var/www/wp-includes/functions.php on line 625

    2023-11-30T16:15:25+00:00 CRITICAL Uncaught Error: Undefined constant “GLOB_BRACE” in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php:711
    Stack trace: 0 /var/www/wp-includes/class-wp-hook.php(310): autoptimizeMain::on_uninstall(”) 1 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) 2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /var/www/wp-admin/includes/plugin.php(1269): do_action(‘uninstall_autop…’) 4 /var/www/wp-admin/includes/plugin.php(960): uninstall_plugin(‘autoptimize/aut…’) 5 /var/www/wp-admin/includes/ajax-actions.php(4748): delete_plugins(Array) 6 /var/www/wp-includes/class-wp-hook.php(310): wp_ajax_delete_plugin(”) 7 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) 8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /var/www/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_delete-…’) 10 {main}

    thrown in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php on line 711

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Ah, reading up on this it seems GLOB_BRACE is not available in some operating systems, bummer. I’ll try finding a workaround.

    In the mean time simply use use your hosts file manager or (s)ftp or a file manager plugin to remove wp-content/uploads/ao_ccss and it’s contents, once this is done the uninstall procedure will not longer complain about that undefined constant.

    hope this helps,
    frank

    Thread Starter theelementmedia

    (@theelementmedia)

    I removed “wp-content/uploads/ao_ccss” and still receive the same error message:

    2023-11-30T16:09:04+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/wp-includes/functions.php on line 650
    
    2023-11-30T16:11:03+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 417792 bytes) in /var/www/wp-includes/functions.php on line 625
    
    2023-11-30T16:15:25+00:00 CRITICAL Uncaught Error: Undefined constant "GLOB_BRACE" in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php:711
    Stack trace: 0 /var/www/wp-includes/class-wp-hook.php(310): autoptimizeMain::on_uninstall('') 1 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /var/www/wp-admin/includes/plugin.php(1269): do_action('uninstall_autop…') 4 /var/www/wp-admin/includes/plugin.php(960): uninstall_plugin('autoptimize/aut…') 5 /var/www/wp-admin/includes/ajax-actions.php(4748): delete_plugins(Array) 6 /var/www/wp-includes/class-wp-hook.php(310): wp_ajax_delete_plugin('') 7 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /var/www/wp-admin/admin-ajax.php(188): do_action('wp_ajax_delete-…') 10 {main} thrown in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php on line 711 2023-11-30T16:18:00+00:00 CRITICAL Uncaught Error: Undefined constant "GLOB_BRACE" in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php:711
    Stack trace: 0 /var/www/wp-includes/class-wp-hook.php(310): autoptimizeMain::on_uninstall('') 1 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /var/www/wp-admin/includes/plugin.php(1269): do_action('uninstall_autop…') 4 /var/www/wp-admin/includes/plugin.php(960): uninstall_plugin('autoptimize/aut…') 5 /var/www/wp-admin/includes/ajax-actions.php(4748): delete_plugins(Array) 6 /var/www/wp-includes/class-wp-hook.php(310): wp_ajax_delete_plugin('') 7 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /var/www/wp-admin/admin-ajax.php(188): do_action('wp_ajax_delete-…') 10 {main} thrown in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php on line 711 2023-11-30T16:20:24+00:00 CRITICAL Uncaught Error: Undefined constant "GLOB_BRACE" in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php:711
    Stack trace: 0 /var/www/wp-includes/class-wp-hook.php(310): autoptimizeMain::on_uninstall('') 1 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 /var/www/wp-admin/includes/plugin.php(1269): do_action('uninstall_autop…') 4 /var/www/wp-admin/includes/plugin.php(960): uninstall_plugin('autoptimize/aut…') 5 /var/www/wp-admin/includes/ajax-actions.php(4748): delete_plugins(Array) 6 /var/www/wp-includes/class-wp-hook.php(310): wp_ajax_delete_plugin('') 7 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) 8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 9 /var/www/wp-admin/admin-ajax.php(188): do_action('wp_ajax_delete-…') 10 {main} thrown in /var/www/wp-content/plugins/autoptimize/classes/autoptimizeMain.php on line 711 2023-11-30T16:29:48+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 163840 bytes) in /var/www/wp-includes/functions.php on line 650 2023-11-30T17:24:09+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 626688 bytes) in /var/www/wp-includes/class-wpdb.php on line 3447 2023-11-30T17:40:50+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 552960 bytes) in /var/www/wp-includes/class-wpdb.php on line 2459 2023-11-30T17:42:57+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 573440 bytes) in /var/www/wp-includes/class-wpdb.php on line 2459 2023-11-30T17:55:12+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 987136 bytes) in /var/www/wp-includes/class-wpdb.php on line 1793 2023-11-30T18:09:54+00:00 CRITICAL Allowed memory size of 524288000 bytes exhausted (tried to allocate 1118208 bytes) in /var/www/wp-includes/class-wpdb.php on line 1317 2023-11-30T18:11:23+00:00 CRITICAL Allowed memory size of 524288000 bytes exhausted (tried to allocate 1159168 bytes) in /var/www/wp-includes/class-wpdb.php on line 1317 2023-11-30T18:26:14+00:00 CRITICAL Allowed memory size of 524288000 bytes exhausted (tried to allocate 753664 bytes) in /var/www/wp-content/mu-plugins/vendor/godaddy/mwc-core/vendor/godaddy/mwc-common/src/Http/Request.php on line 172 2023-11-30T19:03:48+00:00 CRITICAL Allowed memory size of 524288000 bytes exhausted (tried to allocate 651264 bytes) in /var/www/wp-includes/class-wpdb.php on line 3447

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    strange, as the GLOB_BRACE constant is only used when the ao_ccss directory is present, but in that case let’s not dwell on what is happening here and remove autoptimize itself from the wp-content/plugins directory again using a file manager and be done with it ??

    Thread Starter theelementmedia

    (@theelementmedia)

    Thats the part I don’t understand. I already removed Autoptimize from wp-content/plugins. I don’t know how it is still being mentioned in the error message?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that is even weirder … maybe op-code caching at webserver/ php level, maybe (ask your host to) restart that? :-/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woo-commerce errors even after uninstalling Autoptimize’ is closed to new replies.