Fatal error: Uncaught error
-
Hi,
New to connecting WordPress to the Fediverse, and I have installed the plugin only today, so maybe I am misinterpreting some of the documentation regarding author profile pages. Since I’m the only author on the site, I’m not using those. In the ActivityPub plugin’s settings I’ve only set blog profile. So, if that is the reason for the following error, please clarify.Fatal error: Uncaught Error: Call to undefined method WP_Error::get_id() in /home/u711327747/domains/blamedutchie.photography/public_html/wp-content/plugins/activitypub/includes/class-dispatcher.php:69Line 69 being: $activity->set_actor( Actors::get_by_id( $outbox_item->post_author )->get_id() );
Stack trace:0 /../../../../wp-includes/class-wp-hook.php(324): Activitypub\Dispatcher::process_outbox()
1 /../../../../wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
2 /../../../../wp-includes/plugin.php(565): WP_Hook->do_action()
3 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(361): do_action_ref_array()
4 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(284):Cron_Event_Command::run_event()
5 [internal function]: Cron_Event_Command->run()
6 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
7 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure}()
8 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(497): call_user_func()
9 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(441): WP_CLI\Dispatcher\Subcommand->invoke()
10 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(464): WP_CLI\Runner->run_command()
11 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1295): WP_CLI\Runner->run_command_and_exit()
12 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
13 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/bootstrap.php(83): WP_CLI\Bootstrap\LaunchRunner->process()
14 phar://../../../wp-cli-2.10.0.phar/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
15 phar://../../../wp-cli-2.10.0.phar/php/boot-phar.php(20): include('phar:///usr/loc…')
16 /../../../wp-cli-2.10.0.phar(4): include('phar:///usr/loc…')
17 {main}
The cronjob is:
cron event run –due-now > /dev/null 2>&1The page I need help with: [log in to see the link]
The topic ‘Fatal error: Uncaught error’ is closed to new replies.