Post Network activation error
-
Installation now works. However, activation fails. I replaced the site name with “mysite” in the trace below. This appears to be a problem with how pn_get_fields() is called but that may be just what triggered the problem. I don’t know this code.
It is prefaced in the log with “Plugin could not be activated because it triggered a?fatal error.”
Fatal error: Uncaught Error: Non-static method PostNetwork::pn_get_fields() cannot be called statically in /home/dh_7zqbrb/mysite.com/wp-content/plugins/post-network/includes/admin.php:536
Stack trace:
#0 /home/dh_7zqbrb/mysite.com/wp-content/plugins/post-network/post-network.php(53): PostNetwork::pn_option_init()
#1 /home/dh_7zqbrb/mysite.com/wp-includes/class-wp-hook.php(308): pn_activation(”)
#2 /home/dh_7zqbrb/mysite.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#3 /home/dh_7zqbrb/mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/dh_7zqbrb/mysite.com/wp-admin/plugins.php(194): do_action(‘activate_post-n…’)
#5 {main} thrown in /home/dh_7zqbrb/mysite.com/wp-content/plugins/post-network/includes/admin.php on line 536
- The topic ‘Post Network activation error’ is closed to new replies.