• 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)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @bhkh

    Thanks for your question.

    You need to update the composer first:

    composer update --no-dev

    Let me know if the issue persists

    Thread Starter bhkh

    (@bhkh)

    hello! Thanks for the help!

    I have no idea what “update the composer” means. Is that a command I issue on my local machine to do something with the local copy of the repo?

    Plugin Author Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @bhkh Ah, I should explain it in a better way.

    This GitHub repo: https://github.com/publishpress/PublishPress-Checklist-Plugin-Bootstrap is not a ready-to-use plugin, and instead a skeleton if you want to create custom plugin extending PublishPress Checklists.

    Part of extending it is by clone the repo locally, then run:

    composer update --no-dev

    Composer is a dependency manager for PHP. This is the official website: https://getcomposer.org/

    Do you have experience in coding with PHP?

    Thread Starter bhkh

    (@bhkh)

    Oh, very sorry! I didn’t read all of the instructions. I am familiar with js development but not PHP in this way. I will work on it though.

    It would be great if there was a library of other checks. Your plugin is so useful for serious WP sites.

    thank you !

    Plugin Author Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @bhkh Yeah composer is similar to npm in js.

    I’m currently developing this plugin. What other check you are currently needed? Would love to hear more ideas

    Thread Starter bhkh

    (@bhkh)

    Well, I can explain my use case…

    I schedule a daily post (and corresponding email) for 5:30AM every day. It should never be at any other time.

    When I make a new post it defaults, of course, to “immediately”. So every day I have to manually tick my box for “Change time to 5:30am”. However, I have several manual ticks so it is very easy for me to miss-tick. This is exactly the problem I’m trying to solve. The rule would be: Publication time must == 5:30am (site time)

    I don’t know how useful this would be for other people, but perhaps there are other people who need to schedule posts for exact times.

    My other manual checks are not possible to automate as they involve me making some kind of judgement/evaluation.

    I can’t think of anything else, but if you think my case above would be useful to others, I might wait for you to implement it. 🤩

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.