Jump to content

Brotherbell

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Brotherbell

  1. The above code is from the plugin suite php editor. The news-settings php line 18 is: <?php if (count($categories)) : ?>
  2. Trouble installing! I have done everything required including entering the API key but get a warning when I go to the news settings The instructions show a list of boxes to check but the only box to check is to download images. This is in the place where the boxes should be: Warning: count(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/worthy-suite/views/news-settings.php on line 18 It also shows that I need an API key before you can continue which I have already done. Using WP version 5.6. What is the solution? The PHP code through line 18 follows: 1 <?php 2 /** 3 * Plugin Name: Worthy Suite 4 * Plugin URI: https://worthyplugins.com/worthy-suite 5 * Description: Worthy Suite provides an easy gateway into the various plugins of Worthy Ministries 6 * Version: 0.3.8 7 * Requires at least: 3.1.0 8 * Tested up to: 5.4 9 * Author: Worthy Plugins 10 */ 11 12 namespace WorthyPlugins\Suite; 13 14 if ( ! defined( 'ABSPATH' ) ) { 15 return; 16 } 17 18 /**
×
×
  • Create New...