bootstrap custom checklist plugin causes error
-
I am trying to build my own custom checklist from the following repository: https://github.com/publishpress/PublishPress-Checklist-Plugin-Bootstrap referenced on this page: https://publishpress.com/knowledge-base/custom-requirements-plugin/
However when I try to install and activate this bootstrap plugin, I get the error:
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the support forums.
Learn more about troubleshooting WordPress.
I turned on debugging and this is the error:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "PublishPressChecklistsBootstrap\Addon" not found in /home/sftp_user/mysite.com/staging/wp-includes/class-wp-hook.php:324 Stack trace: #0 /home/sftp_user/mysite.com/staging/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #1 /home/sftp_user/mysite.com/staging/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /home/sftp_user/mysite.com/staging/wp-content/plugins/publishpress-checklists/modules/checklists/checklists.php(456): do_action('publishpress_ch...') #3 /home/sftp_user/mysite.com/staging/wp-content/plugins/publishpress-checklists/core/Legacy/LegacyPlugin.php(72): PPCH_Checklists->init() #4 /home/sftp_user/mysite.com/staging/wp-includes/class-wp-hook.php(324): PublishPress\Checklists\Core\Legacy\LegacyPlugin->init('') #5 /home/sftp_user/mysite.com/staging/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /home/sftp_user/mysite.com/staging/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/sftp_user/mysite.com/staging/wp-settings.php(727): do_action('init') #8 /home/sftp_user/mysite.com/staging/wp-config.php(140): require_once('/home/daily_t94...') #9 /home/sftp_user/mysite.com/staging/wp-load.php(50): require_once('/home/daily_t94...') #10 /home/sftp_user/mysite.com/staging/wp-admin/admin.php(35): require_once('/home/daily_t94...') #11 /home/sftp_user/mysite.com/staging/wp-admin/plugins.php(10): require_once('/home/daily_t94...') #12 {main} thrown in /home/sftp_user/mysite.com/staging/wp-includes/class-wp-hook.php on line 324
I do have the main checklist plugin installed by publishpress (been using it for years!)
I disabled all plugins besides your publishpress-checklists plugin to make sure it wasn’t a conflict. I also changed my theme to TwentyTwentyFive.
Is your bootstrap plugin on github out of date? What else should I do to troubleshoot?
(BTW, once I get your template to work my plan is to create a plugin that requires the publication time to be 5:30 am)
- You must be logged in to reply to this topic.