Title: docjohn's Replies | WordPress.org

---

# docjohn

  [  ](https://wordpress.org/support/users/docjohn/)

 *   [Profile](https://wordpress.org/support/users/docjohn/)
 *   [Topics Started](https://wordpress.org/support/users/docjohn/topics/)
 *   [Replies Created](https://wordpress.org/support/users/docjohn/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/docjohn/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/docjohn/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/docjohn/engagements/)
 *   [Favorites](https://wordpress.org/support/users/docjohn/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/docjohn/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/docjohn/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Regex] Replace w regex not working](https://wordpress.org/support/topic/replace-w-regex-not-working/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/replace-w-regex-not-working/#post-13827040)
 * Done. You’re welcomed to run this query on the dataset that’s there. We have 
   backups. Thanks for taking a look!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Regex] Replace w regex not working](https://wordpress.org/support/topic/replace-w-regex-not-working/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/replace-w-regex-not-working/#post-13826586)
 * Posts and pages are the source, searching through approx. 8000 posts. I did not
   have this problem, ever, on the old version of the plugin (before the rewrite
   earlier this year). PHP is 7.2.
 * Does your dev environment have a large set of posts like this?
 * Sometimes other search and replace queries work. It just seems to not like complicated
   regex (even tho this regex isn’t that complicated).
 * Happy to give you full access to the site to poke around and see for yourself?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Checkout Payment Gateway] An error occurred while calling the PayPal API](https://wordpress.org/support/topic/an-error-occurred-while-calling-the-paypal-api-5/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/an-error-occurred-while-calling-the-paypal-api-5/#post-11869126)
 * This thread helped me troubleshoot this error message:
 * [https://wordpress.org/support/topic/checkout-internal-server-error-please-help/](https://wordpress.org/support/topic/checkout-internal-server-error-please-help/)
 * Really wish Woocommerce provided more informative error messages. Even the debug
   log for this was pretty useless.
 * After checking my theme files and email templates (all of which were fine), I
   turned on WordPress debug settings and ensured all custom functions we used were
   not returning errors. One of them, apparently, was causing an issue with Woocommerce,
   which only surfaced on checkout. Very odd.
 * But now resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce PayPal Checkout Payment Gateway] An error occurred while calling the PayPal API](https://wordpress.org/support/topic/an-error-occurred-while-calling-the-paypal-api-5/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/an-error-occurred-while-calling-the-paypal-api-5/#post-11869079)
 * Okay, somehow the error has changed (maybe because Paypal approved reference 
   transactions on my account in the meantime) and now it just says cryptically,“
   Internal server error.” Again, there’s a lot of data in the debug log file, but
   none of it points to any error or problem.
    -  This reply was modified 6 years, 10 months ago by [docjohn](https://wordpress.org/support/users/docjohn/).
      Reason: Removed some info
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] 404s not being logged](https://wordpress.org/support/topic/404s-not-being-logged-2/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [7 years ago](https://wordpress.org/support/topic/404s-not-being-logged-2/#post-11667885)
 * Resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] 404s not being logged](https://wordpress.org/support/topic/404s-not-being-logged-2/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [7 years ago](https://wordpress.org/support/topic/404s-not-being-logged-2/#post-11667884)
 * I figured this out and will leave this here in case someone has a similar issue.
   I saw that you’re calling this via a URL with “404” in its link, which led me
   to investigate whether I might be rewriting numbers in my .htaccess file for 
   redirection. And lo and behold, I was, as we had changed the permalink structure
   on this installation to remove some date stuff. When I commented out these rewrite
   rules, the plugin worked as designed.
 * I suspect our rules just need tweaking or we need to add a conditional to them.
   Thanks for the response; much appreciated!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redirection] 404s not being logged](https://wordpress.org/support/topic/404s-not-being-logged-2/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [7 years ago](https://wordpress.org/support/topic/404s-not-being-logged-2/#post-11652959)
 * Sorry, forgot to add. The 404s ARE being logged, I just checked the database 
   table, wp_redirection_404 and see that it is populated with many entries.
 * However, for some reason, the display of these log items won’t display in my 
   browser when I click on the “404s” link. Tried different browsers, no joy in 
   any of them. The “Support” link shows all things green and “Good.” Using database
   version 4.1.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schema] schema.org/QAPage](https://wordpress.org/support/topic/schema-org-qapage/)
 *  [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/schema-org-qapage/#post-10958515)
 * That definitely helps get me started. Thanks for the assistance!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schema] schema.org/QAPage](https://wordpress.org/support/topic/schema-org-qapage/)
 *  [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/schema-org-qapage/#post-10953540)
 * Step 2 isn’t entirely clear. How do I change the default WebPages [@type](https://wordpress.org/support/users/type/)
   in my new QAPage type to “Question” (as per [https://developers.google.com/search/docs/data-types/qapage](https://developers.google.com/search/docs/data-types/qapage))?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic] Limit number of keywords](https://wordpress.org/support/topic/limit-number-of-keywords/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/limit-number-of-keywords/#post-10899089)
 * Got it. Might be nice to add to settings page at some point for auto-generated
   keywords when enabled. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Location plugin giving “Oops something went wrong”](https://wordpress.org/support/topic/location-plugin-giving-oops-something-went-wrong/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/location-plugin-giving-oops-something-went-wrong/#post-9880759)
 * Ok, thanks…
    -  This reply was modified 8 years, 5 months ago by [docjohn](https://wordpress.org/support/users/docjohn/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPAdverts - Classifieds Plugin] Location plugin giving “Oops something went wrong”](https://wordpress.org/support/topic/location-plugin-giving-oops-something-went-wrong/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/location-plugin-giving-oops-something-went-wrong/#post-9877597)
 * [http://www.nepsy.com/classifieds/add/](http://www.nepsy.com/classifieds/add/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Connect Matomo - Analytics Dashboard for WordPress] 59 queries per single post in multisite?](https://wordpress.org/support/topic/59-queries-per-single-post-in-multisite/)
 *  Thread Starter [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/59-queries-per-single-post-in-multisite/#post-7406426)
 * Sure, just run the Query Monitor plugin on any WP installation that is also running
   WP-Piwik and you’ll see first-hand all of the calls WP-Piwik is making to load
   a single post.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ad Inserter - Ad Manager & AdSense Ads] Display Only on Mobile/Desktop](https://wordpress.org/support/topic/display-only-on-mobiledesktop/)
 *  [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/display-only-on-mobiledesktop/#post-5663828)
 * I would love to see this too.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Import From Blogger](https://wordpress.org/support/topic/import-from-blogger-3/)
 *  [docjohn](https://wordpress.org/support/users/docjohn/)
 * (@docjohn)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/import-from-blogger-3/page/2/#post-1037493)
 * Same problem here, too.
 * Schmidt00’s solution worked for me.
 * In /wordpress/wp-admin/import/blogger.php find (around line 919):
 * $parser = xml_parser_create_ns();
 * Change it to:
 * $parser = xml_parser_create();
 * Apparently the developers changed the name of this function and forgot to update
   it in all dependent modules.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/docjohn/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/docjohn/replies/page/2/?output_format=md)