In your header.php
you are probably using wp_title()
. This one requires at least two global variables: $wpdb
(the get_query_var()
call) and $wp_locale
, on singular views a global $post
object too.
So you have to create these variables, or set wp_title()
in a conditional, like this:
if ( ! empty ( $GLOBALS['wpdb'] ) )
wp_title();
Related Posts:
- Enclosures being deleted “automatically”
- How do I embed youtube videos with https instead of http in the URL?
- WP Oembed not passing through the “autoplay=1” variable
- How can I change Max Embed Size in WordPress 3.5?
- Soundcloud embed shortcode does not work
- wp_embed_register_handler not working
- How to change thumbnail of embedded Youtube video?
- How to add new embed handler not supported by oembed
- Manipulating oembed_dataparse stopped working for YouTube embeds
- Any way to use a custom Parameter for youtube embed without using an iframe?
- Customize Embedded Tweets (or, How To Hide Photos in Embedded Tweets)
- How to change WordPress embedded player size or show just the play button
- how to embed external webpage in my wordpress page
- wp_embed_register_handler is not working
- use of tag into wordpress
- Any way to use a custom Parameter for vimeo embed without using an iframe?
- Is it possible to modify the default YouTube embed attributes string?
- ted talks embed fixed, but can’t control size
- Removing WordPress Icon from oembed link footer
- How to embed a WordPress article on another website [closed]
- Hiding Comments Icon On oembed
- Youtube parameters within WordPress embed code?
- How to create a static player top or bottom of wordpress?
- Audio Playlists – Multiple file type support?
- Vimeo video embeds doesnt seem to work with ACF [closed]
- vimeo/youtube video embed with thumbnails
- Embed YouTube video from custom field value
- Search XML file from within WordPress?
- WordPress keeps altering my embed code
- Can I use wp_oembed_get to detect a valid embeddable link or is there a better way to do so?
- Embeding YouTube video via a template function throws iframe cross-domain policy error
- extra text in Vimeo Embedded videos
- Check if page is embeded
- How can I override print_embed_sharing_dialog() in WordPress 4.5
- Video Embed with Captions in Turkish
- Embed Post in external page
- How can I force oEmbed to display fixed height & width dimensions?
- YouTube embed parameters?
- Embed Youtube video link in wordpress editor
- WordPress get embedded/attachment video
- pdf (25MB) – how to display and enable download?
- Outside url for post content
- want to stop stripping out from my post content
- How to auto embedded youtube with wp_insert_post()
- Display total questions of Moodle in WordPress [closed]
- How to display real-time data which is stored in an IBM Cloud web app
- MP4 video on wordpress working on desktop, not on mobile devices
- Embedding custom posts with REST API
- How to Implement Responsive YouTube Video Framing? [closed]
- Embedded tweets get wrapped in tags and fail to load
- How to change the way wp_embed handles only youtube videos?
- How to embed YouTube videos in posts without adding suggested videos at the end?
- How To Display Content from a website on wordpress page?
- How to make my new theme read [youtube id=”id of the video here” width=”600″ height=”350″]?
- How to put an external object into WordPress to that occupies most of the available space?
- Div around YouTube video
- Embedding Youtube video on comments
- Add custom parameters in SoundClound embed
- How to make enqueue_embed_scripts work with the embed_template filter
- How do I not embed the SoundCloud player? I just want the link
- Add Watermark to PDF’s of logged in user in WordPress upon upload to media library [closed]
- YouTube embeded video will not resize (only full screen responsive) [closed]
- How can I embed an Excel spreadsheet that allows users to edit certain fields, but is still “read-only”
- TED talk embedded videos cut off by sidebar
- Help with jot form pro embed code
- WordPress fails to embed video URL
- changes after I save a post
- Rename Smart YouTube’s httpv back to http for all posts
- Embed a Google Docs in WordPress?
- Is there a way to do nested embeds in the REST API?
- embed via wp_embed_register_handler only works in front-end
- Add class and change src type inside wp_oembed_get
- Code playground (like CodePen) inside WordPress?
- Embed Latest Track (Dynamic Updating) SoundCloud
- Embed wikipedia page in WordPress?
- Embed post wont work on custom post type
- How to embed my latest WordPress post into an external page
- [embed]Using WordPress 5.5.1 there is no embed option after the video is uploaded
- Why does my custom html code (for a donation form) appear in a preview but not in the published post?
- Embed Microsoft Forms into WordPress page
- How to disable URL preview in WordPress comments
- Nofollow attribute in WordPress link embed code?
- Why most embed feature doesn’t work?
- Youtube iframe embed keeps disappearing from page
- ‘[code]’ shortcode to markup programming code does not work
- WordPress Mediaelement – Youtube Videos Embed Options
- Embedding multiple song players on one page without it effecting the load time
- how to embed a .mp4 video the url postfix with secret key
- Adding an official oEmbed provider to WordPress
- CartoDB embedding doesn’t work
- What is the proper way to embed the HTML of an external form such as payflowlink from paypal?
- Do_Shortcode not working for Embed any tweet
- How to embed php page from separate site
- Increase size of Google Document Site Wide [closed]
- How to have embedded images from smugmug take full width of blog posts
- WordPress: embedding last posted video
- How can I create iframe/embeddable content from my WordPress site?
- Completely disable oEmbed and auto-embed on frontend and post editor?
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- How to anchor to embed video