As strange as it may sound, but the error was because in one of the posts I had published , there was – at end!!
So I deleted the posts as that looked like the problem.
Then I restored them one of one and tried to find out what was the problem.
Not sure why that caused the exception to be thrown. Maybe because I was using two shortcodes in the posts abase mysql and table2chart.
Bottom line, do not fiddle with wordpress core files
Related Posts:
- Getting failure when using filemtime() with wp_enqueue_style
- How to override pluggable function in theme?
- Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?
- How bad is it if I write AJAX functions using wp-load.php?
- How to know if a child theme is being used?
- How to modify an image block in Gutenberg WordPress 5?
- WordPress Settings API error
- How do I show sticky posts on a static front page that also contains content?
- Any walker causes blank menu?
- Wrapper class: How to get rid of call_user_func_array() warning?
- Change Genesis Tag from Page Template [closed]
- Why is save_post triggered even when I havent saved the post
- Add custom field automatically to custom page types
- Adding WordPress colorpicker in widget settings
- Similar Posts – NO plugin
- How to add multiple custom widget areas
- What is wrong with this code I have to make a blockquote shortcode
- Add social icons in a theme through custom admin menu
- file_get_contents Not allowed in Themes?
- Best approach to create sites with Modular Content? [closed]
- front-page.php is not Listing in Static Front Page List
- Warning/Error in Admin Panel while developing theme
- How do I get the next page of posts link?
- display 20 lines only with the_content
- How do I remove twentyten without ruining what I did?
- Custom theme not visible in Appearance
- Use debugging for add action events
- Obtain full v2 REST url?
- Where can I access my custom page template?
- Including Javascript options
- Show warning if plugin is missing
- How to To Filter wp_enqueue_script() Scripts on Some Pages
- Does WordPress theme customisation API support section hierarchy?
- Custom Theme Bootstrap
- Check if tag, category or author on archive.php
- Editing Footer Information
- How does a mobile WordPress theme differ from a simple theme?
- How to provide support for [gallery] shortcode?
- Developing WordPress Theme using CSS framework like Bootstrap
- WP_Customize_Color_Control omitting # symbol
- Conditional statement to show pagination
- Can I have two different theme for two different language?
- the_permalink() doesn’t work
- WordPress Theme’s 404 File Getting Called Every Page Load?
- How to first edit in local WordPress editor on page and the add code?
- Getting custom posts by post id from cutomizer text input
- How do i define the location of a git push to WP Engine
- WP_Comment_Query – Get comments and answers separately
- excerpt() shows different result between remote and localhost(development environment)
- Disabling Customizer Selective Refresh shortcut icons for selected controls
- How to create a custom page(not a template) in a theme
- How to override p2 breathe theme plugin in content template file?
- What’s stopping my HTML from rendering in my template parts?
- Default Permalink Type to Postname
- add_filter to parent theme helper class function from child theme
- How to wrap all titles generated by Gutenberg “Heading” block with tag
- How to Change custom post type Dashicon Color
- In creating a theme, how can i allow a user to change an image outside post/page content?
- cannot echo the_post_thumbnails
- What Does “Cannot modify header information?” Mean
- Is there any solution, ide/tool etc., for automatic escaping for WordPress?
- WordPress theme resource won’t load over VPN
- Templates without a loop, best practice?
- How the redirect_to parameter is added to wp_login.php when trying to access wp-admin?
- What $handle does WordPress use for a theme’s implicit style.css?
- Shortcode call not working in WP Template
- Unwanted empty line at the beginning of document
- Why is my container argument not working for wp_nav_menu() [closed]
- Read more doesnt work with query posts
- How can I get the featured image or the first image for a post/page and display it as a banner?
- help needed for suit designing tool
- How to Split loop in multiple column in archive page
- Dynamic Image Links Depending on Excerpt/’Single Post’ View
- Auto focus RichText field
- How to create nested array attribute
- Customizer API Multi Sections in single Panel
- Sidebar not displaying (theme development)
- How can i Limit My Wp Theme To Only One Site
- add class to all images inside the content
- Creating a theme just to deploy a single page
- Make a custom field in admin post.php read only
- Load get_page_templates into select menu
- Weird ‘theme update’ error [duplicate]
- how to make a new page affected by a theme’s index.php layout?
- How to display only some widgets of a sidebar?
- add_action not working in header?
- Custom Infinite-post-scrolling in a custom theme:
- Alternating CSS classes for dynamic content [closed]
- WordPress Loop with Custom Post Type for Bootstrap Accordion [closed]
- How do I make it super customisable?
- Recent posts with comment count in “Sidebar” template [closed]
- HTML to WORDPRESS [closed]
- Isotope overlapping .items because of featured images – HELP! [closed]
- Theme.json: creating different sections of the color palette
- Feeds are showing where Post archive page should be
- My wordpress site memory exhausted more than 1GB trying to debug with default
- Display first post on each page differently than the others
- Custom Theme functions.php – Using add_settings_field and input type=”file” to set custom logo
- I want to resize post featured image without cropping image. How?
- Image and font support missing in editor when deploying theme remotely