• Resolved amirhmoradi

    (@amirhmoradi)


    Hi, upon updating to version 3.6.1 pro my whole site broke because of your plugin. Here is the detailed PHP log below. I had to revert back to the version 3.5.1 and restart my php processes to get back up. Please stop releasing unstable and buggy code as we are paying for a “pro” version and your updates are not pro!

    [STDERR] PHP Fatal error: Uncaught Error: Undefined constant "SECURE_AUTH_COOKIE" in /var/www/vhosts/mydomain.com/html/wp-includes/pluggable.php:929
    Stack trace:
    #0 /var/www/vhosts/mydomain.com/html/wp-includes/pluggable.php(694): wp_parse_auth_cookie()
    #1 /var/www/vhosts/mydomain.com/html/wp-includes/class-wp-hook.php(310): wp_validate_auth_cookie()
    #2 /var/www/vhosts/mydomain.com/html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /var/www/vhosts/mydomain.com/html/wp-includes/user.php(3622): apply_filters()
    #4 /var/www/vhosts/mydomain.com/html/wp-includes/pluggable.php(70): _wp_get_current_user()
    #5 /var/www/vhosts/mydomain.com/html/wp-includes/l10n.php(98): wp_get_current_user()
    #6 /var/www/vhosts/mydomain.com/html/wp-includes/l10n.php(152): get_user_locale()
    #7 /var/www/vhosts/mydomain.com/html/wp-includes/l10n.php(1300): determine_locale()
    #8 /var/www/vhosts/mydomain.com/html/wp-includes/l10n.php(1331): _load_textdomain_just_in_time()
    #9 /var/www/vhosts/mydomain.com/html/wp-includes/l10n.php(185): get_translations_for_domain()
    #10 /var/www/vhosts/mydomain.com/html/wp-includes/l10n.php(297): translate()
    #11 /var/www/vhosts/mydomain.com/html/wp-content/plugins/code-snippets-pro/php/class-licensing.php(170): __()
    #12 /var/www/vhosts/mydomain.com/html/wp-content/plugins/code-snippets-pro/php/class-licensing.php(64): Code_Snippets\Licensing->override_strings()
    #13 /var/www/vhosts/mydomain.com/html/wp-content/plugins/code-snippets-pro/php/class-plugin.php(134): Code_Snippets\Licensing->__construct()
    #14 /var/www/vhosts/mydomain.com/html/wp-content/plugins/code-snippets-pro/php/load.php(65): Code_Snippets\Plugin->load_plugin()
    #15 /var/www/vhosts/mydomain.com/html/wp-content/plugins/code-snippets-pro/code-snippets.php(62): require_once('...')
    #16 /var/www/vhosts/mydomain.com/html/wp-settings.php(407): include_once('...')
    #17 /var/www/vhosts/mydomain.com/html/wp-config.php(158): require_once('...')
    #18 /var/www/vhosts/mydomain.com/html/wp-load.php(50): require_once('...')
    #19 /var/www/vhosts/mydomain.com/html/wp-admin/admin.php(34): require_once('...')
    #20 /var/www/vhosts/mydomain.com/html/wp-admin/network/admin.php(13): require_once('...')
    #21 /var/www/vhosts/mydomain.com/html/wp-admin/network/plugins.php(11): require_once('...')
    #22 {main}
    thrown in /var/www/vhosts/mydomain.com/html/wp-includes/pluggable.php on line 929
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Very strange – we didn’t change any of the referenced code in the new update.

    Our apologies, nethertheless. We will do our best to ensure this is patched in the next release, though of course this may be difficult given that this seems like it might be an error isolated to your particular site configuration.

    Updated to version WP 6.4.1 now cant access site and get error 404. What do I do?

    Unable to detect page cache due to possible loopback request problem. Please verify that the loopback request test is passing. Error: Not Found (Code: http_404)

    Page cache enhances the speed and performance of your site by saving and serving static pages instead of calling for a page every time a user visits.

    Page cache is detected by looking for an active page cache plugin as well as making three requests to the homepage and looking for one or more of the following HTTP client caching response headers:

    cache-control, expires, age, last-modified, etag, x-cache-enabled, x-cache-disabled, x-srcache-store-status, x-srcache-fetch-status.

    • This reply was modified 2 years, 4 months ago by pbarve.
    • This reply was modified 2 years, 4 months ago by pbarve.

    Hello,

    I also have Fatal error when updating to latest Pro version 3.6.1. I did a fresh installation, WP 6.4.1 X PHP 8.2 X multi-site mode and it crashes when plugin is activated. There is no other plugin activated. Version Pro 3.5.1 is working.

    Fatal error: Uncaught Error: Undefined constant "SECURE_AUTH_COOKIE" in /home/clients/web/sites/clients-1-domain.com/wp-includes/pluggable.php:929 Stack trace: #0 /home/clients/web/sites/clients-1-domain.com/wp-includes/pluggable.php(694): wp_parse_auth_cookie(false, '') #1 /home/clients/web/sites/clients-1-domain.com/wp-includes/class-wp-hook.php(324): wp_validate_auth_cookie(false) #2 /home/clients/web/sites/clients-1-domain.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #3 /home/clients/web/sites/clients-1-domain.com/wp-includes/user.php(3628): apply_filters('determine_curre...', false) #4 /home/clients/web/sites/clients-1-domain.com/wp-includes/pluggable.php(70): _wp_get_current_user() #5 /home/clients/web/sites/clients-1-domain.com/wp-includes/l10n.php(98): wp_get_current_user() #6 /home/clients/web/sites/clients-1-domain.com/wp-includes/l10n.php(152): get_user_locale() #7 /home/clients/web/sites/clients-1-domain.com/wp-includes/l10n.php(1300): determine_locale() #8 /home/clients/web/sites/clients-1-domain.com/wp-includes/l10n.php(1331): _load_textdomain_just_in_time('code-snippets') #9 /home/clients/web/sites/clients-1-domain.com/wp-includes/l10n.php(185): get_translations_for_domain('code-snippets') #10 /home/clients/web/sites/clients-1-domain.com/wp-includes/l10n.php(297): translate('Success', 'code-snippets') #11 /home/clients/web/sites/clients-1-domain.com/wp-content/plugins/code-snippets-pro/php/class-licensing.php(170): __('Success', 'code-snippets') #12 /home/clients/web/sites/clients-1-domain.com/wp-content/plugins/code-snippets-pro/php/class-licensing.php(64): Code_Snippets\Licensing->override_strings() #13 /home/clients/web/sites/clients-1-domain.com/wp-content/plugins/code-snippets-pro/php/class-plugin.php(134): Code_Snippets\Licensing->__construct() #14 /home/clients/web/sites/clients-1-domain.com/wp-content/plugins/code-snippets-pro/php/load.php(65): Code_Snippets\Plugin->load_plugin() #15 /home/clients/web/sites/clients-1-domain.com/wp-content/plugins/code-snippets-pro/code-snippets.php(62): require_once('/home/clients/7...') #16 /home/clients/web/sites/clients-1-domain.com/wp-settings.php(418): include_once('/home/clients/7...') #17 /home/clients/web/sites/clients-1-domain.com/wp-config.php(102): require_once('/home/clients/7...') #18 /home/clients/web/sites/clients-1-domain.com/wp-load.php(50): require_once('/home/clients/7...') #19 /home/clients/web/sites/clients-1-domain.com/wp-admin/admin.php(34): require_once('/home/clients/7...') #20 /home/clients/web/sites/clients-1-domain.com/wp-admin/network/admin.php(13): require_once('/home/clients/7...') #21 /home/clients/web/sites/clients-1-domain.com/wp-admin/network/plugins.php(11): require_once('/home/clients/7...') #22 {main} thrown in /home/clients/web/sites/clients-1-domain.com/wp-includes/pluggable.php on line 929
    

    Thank you for your support

    • This reply was modified 2 years, 4 months ago by Mattis.
    Plugin Author Shea Bunge

    (@bungeshea)

    Looks like this was a bug with v3.6.0 and 3.6.1. It should be fixed now in 3.6.2. Apologies!

    Hello,

    Thank you but unfortunately it still does not work for sub sites, it creates new following fatal error (admin / front can not be loaded):

    Fatal error: Uncaught Error: Call to undefined function Code_Snippets\Cloud\wp_generate_password() in /home/clients/1/sites/clients-1-stg.com/wp-content/plugins/code-snippets-pro/php/cloud/class-cloud-api.php:239 Stack trace: #0 /home/clients/1/sites/clients-1-stg.com/wp-content/plugins/code-snippets-pro/php/cloud/class-cloud-api.php(82): Code_Snippets\Cloud\Cloud_API->init_oauth_sync() #1 /home/clients/1/sites/clients-1-stg.com/wp-content/plugins/code-snippets-pro/php/class-plugin.php(126): Code_Snippets\Cloud\Cloud_API->__construct() #2 /home/clients/1/sites/clients-1-stg.com/wp-content/plugins/code-snippets-pro/php/load.php(65): Code_Snippets\Plugin->load_plugin() #3 /home/clients/1/sites/clients-1-stg.com/wp-content/plugins/code-snippets-pro/code-snippets.php(62): require_once('/home/clients/7...') #4 /home/clients/1/sites/clients-1-stg.com/wp-settings.php(418): include_once('/home/clients/7...') #5 /home/clients/1/sites/clients-1-stg.com/wp-config.php(110): require_once('/home/clients/7...') #6 /home/clients/1/sites/clients-1-stg.com/wp-load.php(50): require_once('/home/clients/7...') #7 /home/clients/1/sites/clients-1-stg.com/wp-blog-header.php(13): require_once('/home/clients/7...') #8 /home/clients/1/sites/clients-1-stg.com/index.php(17): require('/home/clients/7...') #9 {main} thrown in /home/clients/1/sites/clients-1-stg.com/wp-content/plugins/code-snippets-pro/php/cloud/class-cloud-api.php on line 239

    It works with version 3.5.1.

    Thank you for your support.

    • This reply was modified 2 years, 4 months ago by Mattis.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Critical error website broken after update to 3.6.1 pro’ is closed to new replies.