Finally found the solution:
One of the title strings contained the letter “ö” (oumlaut). In the shell context, the result of the select was correct, but not in the context of wordpress (maybe different localisation?). So, modifying the page title did the trick.
Related Posts:
- PHP Catchable fatal error: Object of class WP_Error could not be converted to string
- What exactly does “Posts page” do in WordPress?
- How do I make my function add variables/values to the $post object?
- Change comments form title on a page by page basis
- Load custom field value into div with AJAX
- Get the title before comma
- wp enqueue style and style sheet depth
- “Can’t use function return value in write context” error
- Display 4 chronological posts starting with a random post
- Displaying Only Certain Tags in Loop
- Duplicates with WP_Query loop
- WordPress automatically adds tags when pasting code, how to stop it?
- ACF: Only get first row of a Repeater Field
- using add_action for a header hook that has an additional parameter
- Template part inside shortcode, unexpected reult
- WP add_action factory
- how to retrieve uploaded url of zip files
- save imported posts as drafts
- How to show phpinfo() only in a new tab?
- RecursiveDirectoryIterator not working in admin
- WordPress Sending data to Ajax with select option
- Get value from shortcode to do something
- Auto-Select Parent Category as Primary
- Long running queries
- How to create global title in header of wordpress theme
- comments sorting incorrectly across multiple pages
- auto-populating custom nav with all items from custom post type
- How can I modify footer when footer.php calls to another file?
- If tag equals then show else show
- retrieve post data and insert it in seperate static html page without WordPress
- PHP conditional script issue
- WordPress plugin: render only page content using ajax call
- How to fix this warning:call_user_func_array() expects exactly 2 parameters, 1 given in D:\wamp\www\…….\wp-includes\class-wp-hook.php on line 286
- My php code is not being executed
- Using Shortcode to Grab Archive Listing, Separate by Year
- Function won’t run onclick using Ajax
- working with term_relationships table
- Creating a blog on my companies new website using WordPress but I have sidebar issues
- Find Site ID From WP_Post
- How to show meta value code HTML after x paragraph
- List all blogs, but exclude the main site
- Check class_exists before class definition / Doxygen problem
- How do I create a secondary version of the_content
- url_to_postid returns 0
- How to Fix an Archive.php That Displays All Posts?
- Dynamically replicate custom metabox in custom post type
- random reason on refresh
- How to tell if a user has gone in and created a menu
- Fatal error: Cannot redeclare comment_theme()
- Change Query Arguments (filter) with jQuery/Ajax or PHP?
- WordPress Fresh Install Errors (Woocommerce specifically now)
- Tracking Visitor LatLng with WordPress using JS, PHP. How to put data which was extract using JS into DB
- php script in elementor
- WP-Bakery – Add custom colors to buttons with template colors
- how do i add custom widget woocommerce shop page with php
- WordPress redirect to a subpage – how to create a template for subpage?
- How to show 1 random post result without using an array?
- How can I redefine WordPress wp-content directory programmatically?
- Trim Titles Only On Some Pages
- Commenting requires wordpress login, wordpress discussion and post comments tick boxes are checked
- code that I can run, or a plug in to show what sql tables something pulls information from
- Automatic email message after manual user approval
- can I extend the WP_Query class to deal with ‘duplicate’ posts created by joining to wp_posts?
- Enqueue sripts and styles only if function is called
- Return author name as a tag using get_author
- How to pull date/time in french format for wordpress post?
- WooCommerce subcategories help
- What is wrong with this shortcode? to include external php file in WordPress posts
- Echo Option Value Based On WordPress User Role
- wp_query beginner
- Crop an image after upload on custom account page
- Migrating a live WordPress website to a Local Server: why some elements of the website are missing?
- Store stripe info as user_meta
- Is there a way to have chunks of a page’s content expire?
- WooCommerce – Print Processing orders [closed]
- Loop returns more items than exist?
- Formatting Shortcode to Display in Visual Mode
- wp_nav_menu doesn’t work in a duplicate server
- Rewriting to a different page based on existence of query string?
- How to get category pages to look like a certain archive page?
- Host does not allow remote connection, so how do I transfer data to my WordPress site?
- MySQL Engine vs. Charset
- I am extending Walker_Nav_Menu: How can I get the number of children elements of the current item?
- How to call a specific value within the functions.php file?
- How to define template directory in this widget code
- WordPress plugin/code to to to next/previous post in same category
- WordPress White Screen Error
- How to transfer session after being redirected to other page
- Keep users logged in Without Remember Me
- How to use js variable to php in wordpress functions.php
- Display total count of products in orders of a specific order status
- Too few arguments to function woocommerce_update_product_acf_save_post()
- WordPress Query -> Ajax Query
- Login user into magento using wordpress account
- save array of objects with update_option
- What is the best way to reset the site? Different fails while set up
- Use of undefined constant issue
- Themeco Looper Provider Query String for current user posts [closed]
- Strip and print only the numbers found in current’s post excerpt (even if they are without space)
- get_var not returning a value when the field contains an apostrophe