error in version 6.40
-
After installing v6.40 I am blocked out of wordpress. I reverted back to version 6.39 to get this to work again.
On a local install I get this error message:
Use of undefined constant AUTH_COOKIE – assumed ‘AUTH_COOKIE’ (this will throw an Error in a future version of PHP) in wp-includes\pluggable.php on line 769
-
Unfortunately I have the very same problem in a multisite wordpress install. In another normal wordpress install, this problem does not occur.
Hi,
If you can change the code, you will change it as follows.
How is that?lib/OrganizeMediaLibrary.php 38 line
lib/OrganizeMediaLibraryAdmin.php 41 line
lib/OrganizeMediaLibraryRegist.php 62 line[before] include_once
[after] require_oncechanged include_once to require_once but does not change the error – at least on my local install.
PS like ‘andos’ it is a multisite installation. The old version (6.39) still works smoothly though.
Other try!
lib/OrganizeMediaLibrary.php 37 line
lib/OrganizeMediaLibraryAdmin.php 40 line
lib/OrganizeMediaLibraryRegist.php 61 linebefore
if ( ! function_exists( ‘wp_get_current_user’ ) ) {after
if ( ! function_exists( ‘wp_parse_auth_cookie’ ) ) {- This reply was modified 6 years, 3 months ago by Katsushi Kawamori.
Tested today with “wp_parse_auth_cookie”. Still had “require_once” in the lines too (should not make a difference).
Errors stay the same. Complete list from local install:
( ! ) Warning: Use of undefined constant AUTH_COOKIE – assumed ‘AUTH_COOKIE’ (this will throw an Error in a future version of PHP) in C:\wamp64\www\tc_test_wamp\wpincludes\pluggable.php on line 769
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 0.0007 413184 require( ‘C:\wamp64\www\tc_test_wamp\wp-load.php’ ) …\wp-login.php:12
3 0.0010 413936 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-config.php’ ) …\wp-load.php:37
4 0.0011 415624 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-settings.php’ ) …\wp-config.php:99
5 0.0710 3236688 include_once( ‘C:\wamp64\www\tc_test_wamp\wp-content\plugins\organize-media-library\organizemedialibrary.php’ ) …\wp-settings.php:268
6 0.0710 3238608 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-content\plugins\organize-media-library\lib\OrganizeMediaLibraryRegist.php’ ) …\organizemedialibrary.php:33
7 0.0710 3238688 OrganizeMediaLibraryRegist->__construct( ) …\OrganizeMediaLibraryRegist.php:22
8 0.0711 3239824 OrganizeMediaLibrary->__construct( ) …\OrganizeMediaLibraryRegist.php:39
9 0.0714 3239952 get_current_user_id( ) …\OrganizeMediaLibrary.php:40
10 0.0714 3239952 wp_get_current_user( ) …\user.php:433
11 0.0714 3239952 _wp_get_current_user( ) …\pluggable.php:69
12 0.0714 3239976 apply_filters( ) …\user.php:2603
13 0.0714 3240376 WP_Hook->apply_filters( ) …\plugin.php:203
14 0.0714 3241744 wp_validate_auth_cookie( ) …\class-wp-hook.php:286
15 0.0714 3241744 wp_parse_auth_cookie( ) …\pluggable.php:596
( ! ) Warning: Use of undefined constant LOGGED_IN_COOKIE – assumed ‘LOGGED_IN_COOKIE’ (this will throw an Error in a future version of PHP) in
C:\wamp64\www\tc_test_wamp\wp-includes\user.php on line 340
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 0.0007 413184 require( ‘C:\wamp64\www\tc_test_wamp\wp-load.php’ ) …\wp-login.php:12
3 0.0010 413936 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-config.php’ ) …\wp-load.php:37
4 0.0011 415624 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-settings.php’ ) …\wp-config.php:99
5 0.0710 3236688 include_once( ‘C:\wamp64\www\tc_test_wamp\wp-content\plugins\organize-media-library\organizemedialibrary.php’ ) …\wp-settings.php:268
6 0.0710 3238608 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-content\plugins\organize-media-library\lib\OrganizeMediaLibraryRegist.php’ ) …\organizemedialibrary.php:33
7 0.0710 3238688 OrganizeMediaLibraryRegist->__construct( ) …\OrganizeMediaLibraryRegist.php:22
8 0.0711 3239824 OrganizeMediaLibrary->__construct( ) …\OrganizeMediaLibraryRegist.php:39
9 0.0714 3239952 get_current_user_id( ) …\OrganizeMediaLibrary.php:40
10 0.0714 3239952 wp_get_current_user( ) …\user.php:433
11 0.0714 3239952 _wp_get_current_user( ) …\pluggable.php:69
12 0.0714 3239976 apply_filters( ) …\user.php:2603
13 0.0714 3240376 WP_Hook->apply_filters( ) …\plugin.php:203
14 0.0778 3242536 wp_validate_logged_in_cookie( ) …\class-wp-hook.php:286
( ! ) Warning: session_start(): Cannot start session when headers already sent in C:\wamp64\www\tc_test_wamp\wp-content\plugins\e-Boekhouden.nl\eboekhouden.php on line 5
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 0.0007 413184 require( ‘C:\wamp64\www\tc_test_wamp\wp-load.php’ ) …\wp-login.php:12
3 0.0010 413936 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-config.php’ ) …\wp-load.php:37
4 0.0011 415624 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-settings.php’ ) …\wp-config.php:99
5 0.8958 22288968 do_action( ) …\wp-settings.php:450
6 0.8958 22289344 WP_Hook->do_action( ) …\plugin.php:453
7 0.8958 22289344 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
8 1.3754 25294408 ebh_register_session( ) …\class-wp-hook.php:286
9 1.3754 25294408 session_start ( ) …\eboekhouden.php:5
( ! ) Warning: session_start(): Cannot start session when headers already sent in C:\wamp64\www\tc_test_wamp\wp-content\plugins\woocommerce-abandoned-cart\woocommerce-ac.php on
line 1455
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 0.0007 413184 require( ‘C:\wamp64\www\tc_test_wamp\wp-load.php’ ) …\wp-login.php:12
3 0.0010 413936 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-config.php’ ) …\wp-load.php:37
4 0.0011 415624 require_once( ‘C:\wamp64\www\tc_test_wamp\wp-settings.php’ ) …\wp-config.php:99
5 1.4166 25975624 do_action( ) …\wp-settings.php:471
6 1.4166 25976000 WP_Hook->do_action( ) …\plugin.php:453
7 1.4166 25976000 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
8 1.4220 25984168 WC_Cart_Session->get_cart_from_session( ) …\class-wp-hook.php:286
9 1.4224 25987784 do_action( ) …\class-wc-cart-session.php:136
10 1.4224 25988160 WP_Hook->do_action( ) …\plugin.php:453
11 1.4224 25988160 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
12 1.4224 25989176 WC_Cart_Session->set_session( ) …\class-wp-hook.php:286
13 1.4227 25989176 do_action( ) …\class-wc-cart-session.php:185
14 1.4227 25989552 WP_Hook->do_action( ) …\plugin.php:453
15 1.4227 25989552 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
16 1.4227 25990568 woocommerce_abandon_cart_lite->wcal_store_cart_timestamp( ) …\class-wp-hook.php:286
17 1.4227 25990568 session_start ( ) …\woocommerce-ac.php:1455
( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php:769) in
C:\wamp64\www\tc_test_wamp\wp-login.php on line 423
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 1.4296 25986984 header ( ) …\wp-login.php:423
( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php:769) in
C:\wamp64\www\tc_test_wamp\wp-login.php on line 436
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 1.4308 25986920 setcookie ( ) …\wp-login.php:436
( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php:769) in
C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php on line 920
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 1.4579 26186800 wp_signon( ) …\wp-login.php:915
3 1.5353 26128656 wp_set_auth_cookie( ) …\user.php:100
4 1.5470 26228784 setcookie ( ) …\pluggable.php:920
( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php:769) in
C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php on line 921
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 1.4579 26186800 wp_signon( ) …\wp-login.php:915
3 1.5353 26128656 wp_set_auth_cookie( ) …\user.php:100
4 1.5490 26228784 setcookie ( ) …\pluggable.php:921
( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php:769) in
C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php on line 922
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 1.4579 26186800 wp_signon( ) …\wp-login.php:915
3 1.5353 26128656 wp_set_auth_cookie( ) …\user.php:100
4 1.5506 26228784 setcookie ( ) …\pluggable.php:922
( ! ) Warning: Cannot modify header information – headers already sent by (output started at C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php:769) in
C:\wamp64\www\tc_test_wamp\wp-includes\pluggable.php on line 1219
Call Stack
# Time Memory Function Location
1 0.0007 412832 {main}( ) …\wp-login.php:0
2 1.5837 27272608 wp_redirect( ) …\wp-login.php:967
3 1.5841 27275016 header ( ) …\pluggable.php:1219Thanks.
It is no longer necessary.
Please use the latest version.Installed version 6.43. Works correctly. Thx.
- The topic ‘error in version 6.40’ is closed to new replies.