I’ll guess your include is failing. If it’s in the same directory as your main plugin file, try:
include( plugin_dir_path(__FILE__) . '/admin.php' );
Related Posts:
- What are the best practices for updating?
- Custom plugin settings: clicking “save changes” does not display success message
- How to set CORS header?
- What’s causing this error? “Warning: Invalid argument”
- WordPress error: Options page Setting_ not found in the allowed options list
- Problem after updating plugins
- What is the most efficient way of adding additional functionaliy for admin only
- Echo custom admin field into a is_single()
- Add a checkbox in plugin options page and make it actually work
- How to fix a Wordfence scan that doesn’t finish?
- How is wp_admin_notice supposed to work?
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- AFNetworking incorrectly interpreted WP_Error
- Enabling plugin failed because MySQL user do not have CREATE permissions
- Updated 4.3 Getting Error: Warning: call_user_func_array() expects parameter 1 to
- wp_editor content in plugin options page
- do_action() hook into load-(page)
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- Get errors from WP_Error to different variables
- How to change the name of the “edit my profile” link in the WordPress admin backend
- options creation for plugins
- Sync User to cPanel webmail?
- How to create an option page for this simple plugin
- Adding CSS to custom post type admin page causes error
- Getting a “Warning: call_user_func_array()” error whenever I install/update a plugin
- Why am I getting a “Call to undefined function curl_init()” when I try to use the Sociable plugin?
- Redirect to another page using contact form 7? [closed]
- Display Custom Field Value on Admin Page Column
- How to remove/hide Yoast’s “SEO” tab in admin panel?
- get_option error plugin development
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- Add sub menu page in your plugin
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- help with my wordpress website
- Gathering and logging data from a plugin: how to do it without race conditions?
- Update a core option from plugin settings page
- Move plugin-settings to ‘Settings’-menu in the admin
- HTTP 500 error after plugin install
- Can I use register_settings and unregister_setting once the settings page has loaded?
- update_option_{$option} not showing old value
- WordPress Admin Menu defining function is seperate file
- Updating options into the wp database performance
- Can’t activate Plugin: unexpected T_STRING, expecting T_FUNCTION [closed]
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Can deactivating a plugin sometimes “reset” settings within that plugin?
- remove all submenus from plugin
- Allowed memory size exhausted problem
- Create WordPress posts from JSON array using plugin in admin
- Change the style of h1, h2, only in post entry
- How to add options to the plugin page?
- Saving widget options from class method
- creating a plug in that would tap into save/update action of posts [closed]
- Simply poll & Events Calendar plugins clashing
- How to prevent plugins from sniffing/stealing other plugins’ options?
- WP-nivo-slider Producing Error “Cannot modify header information – headers already sent by …”
- Default plugin config to override wp_options?
- XML Sitemap Generator can’t notify google and bing
- How to see which sites use my installed plugins (wordpress multisite)
- After updating the WordPress getting a syntax error in the console
- React error #231with Custom Blocks after upgrade to WP 5.5
- There has been a critical error on your website – won’t fix no matter what
- How to use the CSS of the WordPress core in the development of my administration page?
- get_option / wp_localize_script Not Working in OOP Plug In
- UTF-32be error WordPress
- Elementor page builder plugin not loading up all the way? [closed]
- OceanWP settings are missing from Add New Post [closed]
- in source code but I can’t find it in files or plugins
- Why does this code snippet create a critical error on my site? [closed]
- Getting error “Warning: mysql_query(): Can’t connect to local MySQL server through socket ‘FILEPATH/cccatalog-plugin.php on line 1656”
- Change in one place the data about the company, which are placed on several pages
- Updating WordPress plugin admin panel footer text
- WordPress permissions error with admin account
- Plugin scheduled event not working
- getting notifications about updates only in the “core” page
- Update WP option by plugin
- How to save plugin custom settings page fields
- Remove value from array within post meta ajax admin
- Plugin showing error
- Classic, but puzzling “The uploaded file could not be moved”
- How to reinstate previously saved option?
- Plugin upgrade failing during unzip
- How (or where) do I get wordpress plugin update download link?
- Adding option values as an array using a multi selectable select box
- Store plugin page content in wp_options?
- ‘Notice: Undefined index’ error on plugins page [closed]
- Add logo to admin menu in my plugin
- Every time I save my plugin options it erases another plugin options
- Apparent errer when installing plugin
- Changing plugin options from theme functions file?
- Adding a theme option to the admin that lets me turn on/off a javascript file
- Function Error after WP Upgrade to 3.9.1
- How to make a textarea accept javascript in my settings apge?
- Equivalent of admin.php for public pages
- Remove specific administrator’s capability
- problem with register_activation_hook in plugin
- Plugin permissions for Editor role
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- How do you add a settings page to another menu?
- Error: Can´t access facebook comment plugin admin page
- Trying to get property of non-object wordpress error message