It was a caching problem with composer.
I retroactively changed my composer.json
, so I had to open my terminal and run composer dumpautoload
to correct the cache.
Related Posts:
- How to redirect to settings page once the plugin is activated?
- How to output message during plugin activation
- Prevent network activation of plugin
- Inserting Taxonomy Terms During a Plugin Activation?
- Fatal error: Call to undefined function wp_mail()
- Using wp_cron with custom time interval and the register activation hook
- Call activation hook multiple times
- Only allow plugin to be activated on root site of multisite
- why creating tables using $wpdb is not being executed while installing plugins?
- Override pluggable functions in a plugin?
- Plugin activation error due to unexpected output
- Settings not set after calling register_setting()
- Insert terms for custom taxonomy on plugin activation, or each page load (init hook)
- Fatal error: Call to a member function get_page_permastruct() on a non-object
- Add Link Category on Activation?
- WordPress Plugin Activate / Deactive Failing
- Fatal error: Uncaught Error: Call to undefined function convert_to_screen()
- Fatal error: Cannot redeclare admin_notice() [closed]
- Error: Call to a member function get_error_code() on a non-object
- Multiple array for post_content on plugin activation
- Plugin can’t be activated [closed]
- Clean way to initialize plugin in newly-added site when plugin has been network activated?
- Activate / Deactivate plugin
- WP_Fatal_Error_Handler OR WP_Error OR try/catch
- Uncaught Error: Call to undefined function wp_get_current_user() in
- Fatal error: Uncaught Error: Using $this when not in object context
- WordPress Fatal error: Uncaught Error: Call to undefined function dbDelta()
- Custom Plugin activation error in Multisite
- How to store in the database directly the translation?
- Unable to show a message after plugin activation
- Refresh or redirect page after activate my plugin
- I can install my plugin in localhost but not in my server
- WordPress plugin tables become corrupt
- Deactivate plugin on registration
- Fatal Error triggers Before WP_Error handler
- how can a plugin return an error message on activation?
- Is there a canonical way for a plugin to install a mu-plugin or drop-in?
- Saving metabox updates causing fatal error
- My activator class isn’t running the code inside
- Is get_option function cached?
- How to include jQuery and JavaScript files correctly?
- How do I log plugin (cron) actions?
- Adding pre-publish checks with Gutenberg
- Error getting correct blog_id on MU from functions.php
- How Do I Make WordPress Run an Event Every Day?
- How to add SQL file with PHP to WordPress database [closed]
- Error : “Updating failed: The response is not a valid JSON response” with custom shortcode
- array_map() for sanitizing $_POST
- Is there a faster way than wp_insert_post to add content to a blog
- How to include external library in wordpress plugin
- Delete a specific item menu when I deactivate my plugin
- Ajax in WordPress – path issue
- Platform/Website that Supports Crowd-Funded WordPress Projects? [closed]
- Get user id for delete and update selected user
- Decrease RSS cache time in plugin?
- Add version query tag to all images
- Creating table with plugin is not working
- How to add a custom tag in contact form 7 and change the output in email?
- How to delete an user including data from custom database tables
- How to check if Woocommerce Order number equals to post ID?
- Add custom element ID depending where the widget place is, sidebar or footer
- My plugin class doesn’t work! [closed]
- Call PHP file within a plugin to activate function
- add_action not calling back to function
- Example Dashboard Widget, Cancel not working
- Woocommerce checkout update totals with datepicker
- How to get plugin activate URL to use URL vars?
- rewrite URL based on selected taxonomy for post page
- Woocommerce – Convert Delivery method into a custom field
- Woocommerce Composite Products – Add a composite product to cart programmatically via ajax [closed]
- Add a page in admin without adding menu item
- Possible to get all posts with my shortcode?
- How to prevent someone from entering strings without making it available for translation?
- Add information to HTTP Header in WordPress Plugin
- How can I develop a plugin that generates a page dynamically
- Catching Gutenberg sidebar switch event
- Can we use a library under MIT license in a WooCommerce plugin?
- Why does comments_open() return false when publishing a scheduled post?
- Use options to control jQuery plugin
- Including template in shortcodes
- How to exclude categories from get_categories() select list inside a widget admin panel
- WordPress plugin development theme issue
- Using custom IDP with WP
- Trying to run a Ajax request from a checkout form in woocommerce via a custom plugin
- Securing custom rest API endpoints with public access from PWA
- By adding “?login – failed” code unable to access my dashboard
- Creating a return url for getting data from external api
- How to prevent users from deleting their accounts?
- Is it possible to restore an expired transient?
- How to Maintain url on form submit
- Experts opinions needed: How (in)secure is this approach?
- add_option_{$option} action hook not being called
- action callback, for action dispatched as reported by hook sniffer, not called
- variable created in page.php is null inside of header.php
- Access WordPress Tag Function From Modal
- how can I insert a link on login page
- Shortcode attribute “title” doesn’t appear in $atts array
- Call API on post save/update and show the result in admin area
- Is there any other ways to replicating changes on live from staging without pushing from git
- upload image to wordpress media library failed for custom post type