Title: Tim's Replies | WordPress.org

---

# Tim

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Twitter Feeds - A Tweets Widget or X Feed Widget] WordPress database error: cache_key cannot be null](https://wordpress.org/support/topic/wordpress-database-error-cache_key-cannot-be-null/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/wordpress-database-error-cache_key-cannot-be-null/#post-18407109)
 * Hi [@smashballoonlouis](https://wordpress.org/support/users/smashballoonlouis/),
 * just a quick question before I send the support request:
   Do hashtag-feeds via
   legacy feeds + shortcodes still work in general? Because I saw that creating 
   a new hashtag-feed now requires a subscription. So maybe that’s why it’s throwing
   an error?If yes, I would suggest catching that early on, so it does not come 
   to an error only when trying to insert into the database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More] wpforms keeps loading](https://wordpress.org/support/topic/wpforms-keeps-loading/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/wpforms-keeps-loading/#post-18350190)
 * Hey [@rsouzaam](https://wordpress.org/support/users/rsouzaam/) 🙂 
   I already 
   gave the project to the client, so I don’t want to break it again now. I couldn’t
   find anything specific in the Network tab as far as I remember. When I try the
   URL now, it does return the scripts as expected.
 * Here is the system info:
 *     ```wp-block-code
       				### Begin System Info ###-- WPForms InfoLite:                     Mar 24, 2023 at 5:15pm (GMT)Lite Connect:             Backup is not enabled-- Site InfoSite URL:                 https://[...]Home URL:                 https://[...]Multisite:                No-- WordPress ConfigurationVersion:                  6.7.1Language:                 de_DEUser Language:            de_DEPermalink Structure:      /%postname%/Active Theme:             dng2024 Show On Front:            pagePage On Front:            Startseite (#2315)Page For Posts:           UnsetABSPATH:                  /var/www/vhosts/[...]/Table Prefix:             Length: 9   Status: AcceptableWP_DEBUG:                 EnabledWPFORMS_DEBUG:            Not setMemory Limit:             40MRegistered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, acf-disabled, dp-rewrite-republishRevisions:                Enabled-- WordPress Uploads/ConstantsWP_CONTENT_DIR:           /var/www/vhosts/[...]/wp-contentWP_CONTENT_URL:           http://[...]/wp-contentUPLOADS:                  Not setwp_uploads_dir() path:    /var/www/vhosts/[...]/wp-content/uploads/2025/03wp_uploads_dir() url:     http://[...]/wp-content/uploads/2025/03wp_uploads_dir() basedir: /var/www/vhosts/[...]/wp-content/uploadswp_uploads_dir() baseurl: http://[...]/wp-content/uploads-- WordPress Active PluginsAdvanced Custom Fields PRO: 6.3.12EWWW Image Optimizer: 8.1.1 (needs update - 8.1.2)Regenerate Thumbnails: 3.1.6Resizable Editor Sidebar: 1.0.5SMTP Mailer: 1.1.17UpdraftPlus - Backup/Restore: 1.25.2Wordfence Security: 8.0.3WPForms Lite: 1.9.4.1Yoast Duplicate Post: 4.5Yoast SEO: 24.6-- WordPress Inactive PluginsEMC Scheduling Manager: 4.2Real Cookie Banner (Free): 5.0.13Search & Replace: 3.2.3-- Webserver ConfigurationPHP Version:              8.2.27MySQL Version:            10.3.39Webserver Info:           Apache-- PHP ConfigurationMemory Limit:             256MUpload Max Size:          8MPost Max Size:            8MUpload Max Filesize:      8MTime Limit:               180Max Input Vars:           1000Display Errors:           N/A-- PHP ExtensionscURL:                     Supportedfsockopen:                SupportedSOAP Client:              InstalledSuhosin:                  Not Installed-- Session ConfigurationSession:                  Disabled### End System Info ###			
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More] wpforms keeps loading](https://wordpress.org/support/topic/wpforms-keeps-loading/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/wpforms-keeps-loading/#post-18301543)
 * Same problem here – load-scripts.php experiences a timeout, jQuery is not loaded,
   causing the WPForms editor to load forever.
 * (The URL is /wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-
   migrate,utils,jquery-ui-core,underscore,wp-util,jquery-ui-mouse,jquery-ui-sortable,
   jquery-ui-draggable,wp-pol&load%5Bchunk_1%5D=yfill,moxiejs,plupload&ver=6.7.1)
 * I fixed it by disabling script concatenation. You can do so by adding the following
   line to the _wp-config.php_ file:
 * `define( 'CONCATENATE_SCRIPTS', false );`
 * In my opinion the plugin shouldn’t break on script concatenation though, as it’s
   WordPress’ default and everything else works fine with it…
    -  This reply was modified 1 year, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This reply was modified 1 year, 3 months ago by [Tim](https://wordpress.org/support/users/greller/).
      Reason: found temp. fix
    -  This reply was modified 1 year, 3 months ago by [Tim](https://wordpress.org/support/users/greller/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Table of Contents] Not Working – Generate TOC link ids. scroll up always](https://wordpress.org/support/topic/not-working-generate-toc-link-ids-scroll-up-always/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/not-working-generate-toc-link-ids-scroll-up-always/#post-18184539)
 * [@akshaycode1](https://wordpress.org/support/users/akshaycode1/) the page is 
   not public yet. But for now my fix works fine. I assume it should usually generate
   the IDs automatically?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Table of Contents] Not Working – Generate TOC link ids. scroll up always](https://wordpress.org/support/topic/not-working-generate-toc-link-ids-scroll-up-always/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/not-working-generate-toc-link-ids-scroll-up-always/#post-18169170)
 * I now set the IDs for each headline automatically via the functions.php:
 *     ```wp-block-code
       function custom_sanitize_title($title){    $title = strtolower($title);    $umlauts = [        'ä' => 'ae',        'ö' => 'oe',        'ü' => 'ue',        'ß' => 'ss',        'Ä' => 'ae',        'Ö' => 'oe',        'Ü' => 'ue',    ];    $title = strtr($title, $umlauts);    $title = preg_replace('/[^a-zA-Z0-9]+/', '-', $title);    $title = preg_replace('/-$/', '', $title);    return $title;}add_filter( 'the_content', 'add_ids_to_header_tags' );function add_ids_to_header_tags( $content ) {    $pattern = '#(?P<full_tag><(?P<tag_name>h\d)(?P<tag_extra>[^>]*)>(?P<tag_contents>[^<]*)</h\d>)#i';    if ( preg_match_all( $pattern, $content, $matches, PREG_SET_ORDER ) ) {        $find = array();        $replace = array();        foreach( $matches as $match ) {            if ( strlen( $match['tag_extra'] ) && false !== stripos( $match['tag_extra'], 'id=' ) ) {                continue;            }            $find[]    = $match['full_tag'];            $id        = custom_sanitize_title( $match['tag_contents'] );            $id_attr   = sprintf( ' id="%s"', $id );            $replace[] = sprintf( '<%1$s%2$s%3$s>%4$s</%1$s>', $match['tag_name'], $match['tag_extra'], $id_attr, $match['tag_contents']);        }        $content = str_replace( $find, $replace, $content );    }    return $content;}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Table of Contents] Not Working – Generate TOC link ids. scroll up always](https://wordpress.org/support/topic/not-working-generate-toc-link-ids-scroll-up-always/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/not-working-generate-toc-link-ids-scroll-up-always/#post-18169102)
 * Same issue here. How were you able to fix it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Block Builder - Lazy Blocks] Publish/Update button is always disabled](https://wordpress.org/support/topic/publish-update-button-is-always-disabled/)
 *  Thread Starter [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/publish-update-button-is-always-disabled/#post-17319272)
 * I did not change anything, but it does work most of the time now
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] Text colors are lost after update to 2.0](https://wordpress.org/support/topic/text-colors-are-lost-after-update-to-2-0/)
 *  Thread Starter [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/text-colors-are-lost-after-update-to-2-0/#post-17249401)
 * Well that doesn’t help much if you just roll out the 2.0 update via automatic
   updates. Every site was touched by 2.0 even before 2.0.2 came out.
 * Yes, theme and companion are at version 2.0.4 on that page. I was able to get
   the missing colors back by now though.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Blocksy] Text colors are lost after update to 2.0](https://wordpress.org/support/topic/text-colors-are-lost-after-update-to-2-0/)
 *  Thread Starter [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/text-colors-are-lost-after-update-to-2-0/#post-17245115)
 * I already did the migrations by myself, but thanks for the offer.
 * Just wanted to let you know about the issues so you could fix them in the next
   version if possible.
 * On that note: A different page, which uses blocksy as well, lost 3 of its palette-
   colors. Only colors 1 to 5 are shown in the customizer and I cannot add the other
   3 colors back. They are also missing in the CSS.
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [call_user_func_array(): Argument #1 ($callback) must be a valid callback](https://wordpress.org/support/topic/call_user_func_array-argument-1-callback-must-be-a-valid-callback/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/call_user_func_array-argument-1-callback-must-be-a-valid-callback/#post-16875741)
 * Thanks, this helped me a lot!
   I just want to add, that it doesn’t has to be a
   filter, but can also be an action that isn’t added properly. In my case it was:
 *     ```wp-block-code
       add_action('wp_head', /* something that returned null */);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Custom Fields: Extended] “Archive page” with Gutenberg editor](https://wordpress.org/support/topic/archive-page-with-gutenberg-editor/)
 *  [Tim](https://wordpress.org/support/users/greller/)
 * (@greller)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/archive-page-with-gutenberg-editor/#post-16632331)
 * You can create a page, which is then editable with Gutenberg, and show its content
   on your archive page. 
   In your case: create a new page with the name Products,
   so that it has the permalink “/products/”. Then add an archive.php that looks
   something like this:
 *     ```wp-block-code
       <?php
       function custom_post_type_content(): string | false
       {
           $custom_post_types = get_post_types(['public' => true, '_builtin' => false], "names");
           $type = get_post_type();
           if (isset($custom_post_types[$type])) {
               // Get the static page with a matching slug
               $category_static_page = get_page_by_path($type);
   
               // If such a page exists, get it
               if (isset($category_static_page)) {
                   // Output page content and apply the usual the_content filters
                   return apply_filters('the_content', $category_static_page->post_content);
               }
           }
           return false;
       }
   
       if ($content = custom_post_type_content()) {
           get_header();
           echo $content;
           get_footer();
       } else {
           if (wp_redirect(home_url())) {
               exit;
           }
       }
       ```
   
    -  This reply was modified 3 years, 1 month ago by [Tim](https://wordpress.org/support/users/greller/).

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