Plugin header error
-
hello, I had this plugin working for some reason it stopped working and when I try to upload and activate it I get
The plugin does not have a valid header.
here is the main file<?phpconstant for the plugin's includes directory
/*
* Plugin Name: API gold
* Plugin URI: https://governance.page
* Description: Handle the basic combinations handling with this plugin.
* Version: 0.1.0
* Requires at least: 0.1
* Requires PHP: 7.2
* Author: Jayotis Diggory
* Author URI: https://governance.page
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Update URI: https://governance.page
* Text Domain: my-basics-plugin
* Domain Path: /languages
*/
if (!defined('WPINC')) {
die();
}
// Define a
define('API_GOLD_PLUGIN_INCLUDES', plugin_dir_path(__FILE__) . 'includes/');
// Include necessary files
require_once API_GOLD_PLUGIN_INCLUDES . 'APIgoldSecurityManager.php';
require_once API_GOLD_PLUGIN_INCLUDES . 'UserRegistrationManager.php';
require_once API_GOLD_PLUGIN_INCLUDES . 'VerificationTokens.php';
require_once API_GOLD_PLUGIN_INCLUDES . 'DrawUploadHandler.php';
class APIgoldPlugin {
// Declare the properties explicitlyThe page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Plugin header error’ is closed to new replies.