enable-mastodon-apps
enable-mastodon-apps copied to clipboard
Undefined array key "status" in class-mastodon-admin.php on line 344
Hi Alex,
I finally had some time do some further debugging on why apps like Mona or Ivory can't connect to my WordPress instance. When turning debugging on in wp-config.php and have Mastodon-Apps log too I get the following additional information. I hope this helps in further debugging.
Best,
Camiel
Deprecated: Implicit conversion from float 16963225818901.12 to int loses precision in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-app.php on line 145
Deprecated: Implicit conversion from float 16963225829980.43 to int loses precision in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-app.php on line 145
Deprecated: Implicit conversion from float 16963225852317.021 to int loses precision in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-app.php on line 145
Deprecated: Implicit conversion from float 1696322581.890112 to int loses precision in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-admin.php on line 521
Deprecated: Implicit conversion from float 1696322582.998043 to int loses precision in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-admin.php on line 521
Deprecated: Implicit conversion from float 1696322585.231702 to int loses precision in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-admin.php on line 521
Recently Logged Requests
Debugger [2023-10-03 08:43:01.890]
Warning: Undefined array key "status" in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-admin.php on line 344
200 POST [/api/v1/apps](https://schoonens.blog/api/v1/apps?_wpnonce=40b5d9ea0e&_pretty=1)
params array (
'scopes' => 'read write push follow',
'redirect_uris' => 'com.jonny.mona://oauth',
'client_name' => 'Mona for iPhone',
'website' => 'https://mastodon.social/@MonaApp',
)
current_user 0
user_agent 'Mozilla/5.0 Macintosh Intel Mac OS X 10_15_7 AppleWebKit/605.1.15 KHTML like Gecko Version/17.0 Safari/605.1.15'
app Enable_Mastodon_Apps\Mastodon_App::__set_state(array(
'term' =>
WP_Term::__set_state(array(
'term_id' => 246,
'name' => 'enable-mastodon-apps',
'slug' => 'enable-mastodon-apps',
'term_group' => 0,
'term_taxonomy_id' => 246,
'taxonomy' => 'mastodon-app',
'description' => '',
'parent' => 0,
'count' => 0,
'filter' => 'raw',
'meta' =>
array (
),
)),
))
Per example, I get the same error when connecting with Ivory for Mac. Changing the 'Default Post Formats' to per example standard gives exactly the same error 'Undefined array key "status" in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-admin.php on line 344'
Debugger [2023-10-03 09:12:45.438]
Warning: Undefined array key "status" in /home/deb59542n6/domains/schoonens.blog/public_html/wp-content/plugins/enable-mastodon-apps/includes/class-mastodon-admin.php on line 344
200 POST [/api/v1/apps](https://schoonens.blog/api/v1/apps?_wpnonce=40b5d9ea0e&_pretty=1)
params array (
'client_name' => 'Ivory for Mac',
'redirect_uris' => 'com.tapbots.Ivory.16501:/request_token/B7D990E8-A530-49D5-BBF9-830937AD5CB6',
'scopes' => 'read write follow push',
'website' => 'https://tapbots.com/',
)
current_user 0
user_agent 'Ivory/16501 CFNetwork/1474.1 Darwin/23.0.0'
app Enable_Mastodon_Apps\Mastodon_App::__set_state(array(
'term' =>
WP_Term::__set_state(array(
'term_id' => 265,
'name' => 'enable-mastodon-apps',
'slug' => 'enable-mastodon-apps',
'term_group' => 0,
'term_taxonomy_id' => 265,
'taxonomy' => 'mastodon-app',
'description' => '',
'parent' => 0,
'count' => 0,
'filter' => 'raw',
'meta' =>
array (
),
)),
))