The error is occurring as the $_GET array doesn’t have the item $_GET[‘do’] in it. Therefore it throws this notice. To check if something exisits in the array try:
if( isset( $_GET['do'] ) )
$do_that = $_GET['do'];
else
$do_that="";
or a cleaner method would be to use short hand notation
$do_that = ( isset( $_GET['do'] ) ) ? $_GET['do'] : '';
Related Posts:
- How to attach region identifier to a pretty url?
- Custom branding / theme specified by URL
- Finding and disabling ‘rogue’ stylesheet from header: Source Sans Pro
- Debugging in WordPress at Theme installation [duplicate]
- .PO file is found but I don’t see translations: how to debug the problem?
- Undefined variable error in theme option after updating theme [closed]
- How to get the theme directory URI?
- Fix warning: Missing argument
- my blog crashes ie7?
- After changed url from http to https, it says “This site can’t be reached”
- fixing page URL’s
- wordpress theme link url
- WordPress frameworks and parent themes [closed]
- Where can I download WordPress themes from? [closed]
- Where can I learn to create my own theme?
- How do I turn off self-closing tags for markup in WordPress (for HTML5, or HTML4, for example)?
- How to move the sidebar in TwentyFifteen to the right?
- How can I version the main CSS file?
- Dash or underscore in theme folder name?
- Do Child-Themes automatically load the Translation from the Parent-Theme?
- Using Multiple Themes in a Single WordPress Site?
- How to override the “inc” folder (or any folder) in a theme using child theme?
- Pre-populating the Page/Post Content Editor with HTML Snippets?
- Two instances of WordPress with different URLs and themes
- Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
- How can I use WordPress as a job board ? (but free)
- Using WordPress as piecemeal in existing site?
- Can I Download a Free WordPress Theme, Edit it and Use it?
- I’m trying to add an image in my CSS
- How to create a theme option-menu page to save user values
- Are custom inner theme folders in any way overridable by child themes?
- How to put a banner ad between post 1 and post 2 on homepage only
- How to reverse the pagination numbers of an archive?
- In which directory do I find a specific HTML code of my wordpress page? Some of it seems to be missing after checking all pages [closed]
- Changing the title of post with code
- Why do Trackbacks/Pingbacks not appear below my posts/pages?
- Extra themes – ok or bad?
- WordPress AJAX in header.php
- Add transparency to wordpress color picker?
- Switch to other theme at URL
- How to go about pre generating css file with variables from theme options
- How to load a different theme for categories?
- How can I create an “excerpt” with text that won’t be displayed in the post itself?
- Possible to put header-{your_custom_template}.php in subdirectory?
- Why wp_enqueue_style() not working?
- How to remove header image on subpages in Twenty Eleven (default theme)?
- Can I update themes without enabling maintenance mode?
- How to change sidebar per page?
- 404 Error while accessing the font files
- Add a series of checkboxes to theme options
- WordPress Theme Development Seemingly Awful Partitioning of Includes?
- Child Style.css not overriding parent theme style located in assets/css/main.css
- Disable Theme API / Front end (for API only environment)
- Hide default “Recent Comments” Widget if there are no comments yet
- Creating a theme options page
- Showing post thumbnail (attachment) on the archive.php category listing
- OptimizePress Theme Overriding add_filter page_template
- Theme Check warning wrong direcory for theme
- Static page not working
- How do I change the scan depth for page template files?
- Moving test theme to live site without mySQL error – how? [closed]
- Add more widget areas to a theme
- Posts and Pages not showing on admin, but showing in theme
- Error defining a gutenberg block in a theme
- Apache errors when retrieving taxonomies
- How can I add class to every quote element?
- Looking for a fully customisable WP responsive theme to develop a small scale fiverr type site for voice artists [closed]
- Page dissapears when i click save
- wp_get_theme() works fine, but wp_get_themes() returns empty array
- Read More Button Not Responding To Click
- How to use command lines an activate theme in wp – cli also setup Vagrant/Sage Theme?
- Can’t resize logo in responsive theme?
- How to change the format of posts on the hompage?
- GPL and intellectual or exclusive ownership
- WordPress root directory change + Theme directory change
- How do I understand which page of my theme is being loaded?
- What Generated Classes and IDs That Is Always Used On All Themes?
- Creating a child-theme: CSS not loading
- simplified explanation on child themes?
- Calling external Libraries in WordPress
- How to override / customize existing Widgets?
- Access to font not allowed by CORS Policy
- Trim Post Content on Home Page
- Does Jetpack store comments in local database also? [closed]
- Twenty Eleven NOT valid
- Query for all themes?
- First click to blog title does not open the blog article
- Theme translation not working
- Custom homepage with recent blog posts
- Dynamic image for Jumbotron on WordPress Custom Theme
- Transfer WordPress site to another domain
- Strange Theme Error – parent style occasionally showing though child theme
- Firebug and Chrome rendering two body tags
- Does WordPress provide themes_api function?
- How to show tags in posts with a theme that does not do it
- Converting HTML5 to XHTML
- How to remove header “ish” label [closed]
- Help with Divi logo not appearing for 10s
- How to clone a theme template from within WordPress? [closed]
- What do you call the content area with a “raised” drop-shadow effect? [closed]