Title: janh2's Replies | WordPress.org

---

# janh2

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

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

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] More PHP 8.4-8.5 Deprecations](https://wordpress.org/support/topic/more-php-8-4-8-5-deprecations/)
 *  [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/more-php-8-4-8-5-deprecations/#post-18826850)
 * [@maybellyne](https://wordpress.org/support/users/maybellyne/) “Beta support”
   is dependent on user-adoption, it does not mean that WP isn’t “fully compatible”
   with it.
 * And yes, deprecations are not errors per se, but many sites will log them because
   they indicate an eventually error (when the deprecated functionality is removed).
   With yoast causing _a lot_ of those, logs are being filled unnecessarily.
 * The fix is simple and common plugins like Yoast causing a lot of noise in the
   logs could affect users’ decisions on version-migration, thus affecting when 
   the PHP-version will be considered out of beta-support (10% of sites adopted 
   it). Please don’t wait for that to happen before you fix this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CF7 Apps – Honeypot, Database, Redirection, Webhook, and Addons for Contact Form 7] Uncaught TypeError: Unsupported operand types: int – string](https://wordpress.org/support/topic/uncaught-typeerror-unsupported-operand-types-int-string-5/)
 *  Thread Starter [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-unsupported-operand-types-int-string-5/#post-17880815)
 * Hi [@usamaazad99](https://wordpress.org/support/users/usamaazad99/) , thanks 
   for your prompt reaction.
 * Looks good to me, the typecast does address the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Multisite: Account activation nag on each blog](https://wordpress.org/support/topic/multisite-account-activation-nag-on-each-blog/)
 *  Thread Starter [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/multisite-account-activation-nag-on-each-blog/#post-16401525)
 * Thank you for the prompt reply. I’m sure it’s not easy, Freemius is huge. The
   main class weighing in at 26k lines, opcache is really helpful here.
 * In the mean time, I’ve used the following code to silence it (in each blog’s 
   context)
 *     ```wp-block-code
       $fs = get_option("fs_accounts");
       if(is_array($fs)) {
          $fs["plugin_data"] = $fs["plugin_data"] ?? [];
          $fs["plugin_data"]["tablepress"] = $fs["plugin_data"]["tablepress"] ?? [];
          if(!is_array($fs["plugin_data"]["tablepress"]["is_anonymous"] ?? null)) {
             $fs["plugin_data"]["tablepress"]["is_anonymous"] = [
                "is" => true,
                "timestamp" => time(),
                "version" => "2.0.4",
             ];
             update_option("fs_accounts", $fs);
          }
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Sharing Plugin - Sassy Social Share] Undefined array key warnings](https://wordpress.org/support/topic/undefined-array-key-warnings-2/)
 *  Thread Starter [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/undefined-array-key-warnings-2/#post-16017586)
 * Thanks, that’s not the issue. The code is producing PHP warnings unless you’ve
   saved the options at least once which might not happen in a multi-site context.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Visualizer: Tables and Charts Manager for WordPress] Visualizer charts not showing when logged in to WordPress](https://wordpress.org/support/topic/visualizer-charts-not-showing-when-logged-in-to-wordpress/)
 *  [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [5 years ago](https://wordpress.org/support/topic/visualizer-charts-not-showing-when-logged-in-to-wordpress/#post-14362668)
 * While I can’t provide a solution because I’m not using Visualizer, I ran into
   the problem as well and landed here by searching for the error message.
 * While debugging I noticed that [https://www.gstatic.com/charts/loader.js](https://www.gstatic.com/charts/loader.js)
   was loaded twice in my case. Fixing it so it’s only included once made the issue
   go away.
 * Just wanted to let you know, it might be similar in your case.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] New update bug](https://wordpress.org/support/topic/new-update-bug/)
 *  [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/new-update-bug/#post-9897533)
 * For a quick fix, you can disable the the multi language feature announcement.
   Edit custom-permalinks-main.php and comment out the line at the end that reads
 * `add_action( 'plugins_loaded', 'custom_permalinks_translation_capability' );`
 * so that it becomes
 * `// add_action( 'plugins_loaded', 'custom_permalinks_translation_capability' );`
 * It will disable the multilanguage features (which appear to not be included yet),
   and will get rid of the warning you’ll get on every page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] WP in subdirectory & custom post type with the same name](https://wordpress.org/support/topic/wp-in-subdirectory-custom-post-type-with-the-same-name/)
 *  Thread Starter [janh2](https://wordpress.org/support/users/janh2/)
 * (@janh2)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/wp-in-subdirectory-custom-post-type-with-the-same-name/#post-9622610)
 * Seeing is believing. OK, I was hoping to get around setting up a public facing
   demonstration, but here you go.
 * [http://cpl.for-science.de/subdir/bbb/](http://cpl.for-science.de/subdir/bbb/)(
   post type test) non-cpl-URL: [http://cpl.for-science.de/subdir/test/aaa/](http://cpl.for-science.de/subdir/test/aaa/)
   
   Does work.
 * [http://cpl.for-science.de/subdir/nike/](http://cpl.for-science.de/subdir/nike/)(
   post type subdir) non-cpl-URL: [http://cpl.for-science.de/subdir/subdir/lol/](http://cpl.for-science.de/subdir/subdir/lol/)
   
   Does not work.
 * The reason is in class-wp.php, triggered by CPL removing too much from the URI
   as described in my initial report.
 *     ```
       			$req_uri = str_replace($pathinfo, '', $req_uri);
       			$req_uri = trim($req_uri, '/');
       			$req_uri = preg_replace( $home_path_regex, '', $req_uri );
       			$req_uri = trim($req_uri, '/');
       ```
   
 * leaves us with _test/aaa_ in the working case and _lol_ in the failing one.
 * I’m happy to give you backend access to the site if you provide me with a secure
   way of transmission.

Viewing 7 replies - 1 through 7 (of 7 total)