• interere

    (@interere)


    Hello, I’m trying to upload my plugin to WordPress, but everytime I get an error: “

    Error: The plugin has no name. Add a Plugin Name: line to your main plugin file and upload the plugin again. For more information, please review our documentation on Plugin Headers.

    I have even tried to upload it with the example shown in Plugin Headers, but it still gives me an error. I’m uploading a single PHP file. What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • threadi

    (@threadi)

    Show the central PHP file of your plugin where this information should be.

    How did you name this file?

    How did you pack the ZIP file you are uploading?

    The same problem. It also gives an error for the headers accepted by wordpress and it is not possible to upload a plugin.

    /*
     * Plugin Name:       My Basics Plugin
     * Plugin URI:        https://example.com/plugins/the-basics/
     * Description:       Handle the basics with this plugin.
     * Version:           1.10.3
     * Requires at least: 5.2
     * Requires PHP:      7.2
     * Author:            John Smith
     * Author URI:        https://author.example.com/
     * License:           GPL v2 or later
     * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     * Update URI:        https://example.com/my-plugin/
     * Text Domain:       my-basics-plugin
     * Domain Path:       /languages
     */

    Error: The plugin has no name. Add a Plugin Name: line to your main plugin file and upload the plugin again. For more information, please review our documentation on Plugin Headers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: The plugin has no name. Add a Plugin Name’ is closed to new replies.