Title: bebablub's Replies | WordPress.org

---

# bebablub

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] Media Bulk Upload: parent update button broken](https://wordpress.org/support/topic/media-bulk-upload-parent-update-button-broken/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/media-bulk-upload-parent-update-button-broken/#post-18771283)
 * I have a potential fix for the current dev version
   file: js\mla-set-parent-scripts.
   jsstarting from line 87
 *     ```wp-block-code
       			// Enable whole row to be clicked			$( '#mla-set-parent-inside-div' ).on( 'click', 'tr', function() {				$( this ).find( '.found-radio input' ).prop( 'checked', true );				$( '#mla-set-parent-submit' ).prop( 'disabled', false );			});			// Enable Update button when a radio button is selected directly			$( '#mla-set-parent-response-div' ).on( 'change', 'input[type="radio"]', function() {				$( '#mla-set-parent-submit' ).prop( 'disabled', false );			});
       ```
   
 * starting from line 202 (when preselected)
 *     ```wp-block-code
       			// Enable whole row to be clicked			$( '#mla-set-parent-inside-div' ).on( 'click', 'tr', function() {				$( this ).find( '.found-radio input' ).prop( 'checked', true );				$( '#mla-set-parent-submit' ).prop( 'disabled', false );			});			// Enable Update button when a radio button is selected directly			$( '#mla-set-parent-response-div' ).on( 'change', 'input[type="radio"]', function() {				$( '#mla-set-parent-submit' ).prop( 'disabled', false );			});
       ```
   
 * and finally when dialog is closed reset state starting from line 138
 *     ```wp-block-code
       		close: function() {			$( '#mla-set-parent-input' ).val('');			$( '#mla-set-parent-post-type' ).val('all');			$( '#mla-set-parent-response-div' ).html('');			$( '#mla-set-parent-div' ).hide();			$( '#mla-set-parent-overlay' ).hide();			$( '#mla-set-parent-submit' ).prop( 'disabled', true );		},
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gmedia Photo Gallery] Cannot Upload Images Into GMedia Gallery (Button Greyed Out](https://wordpress.org/support/topic/cannot-upload-images-into-gmedia-gallery-button-greyed-out/)
 *  [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/cannot-upload-images-into-gmedia-gallery-button-greyed-out/#post-18771268)
 * I think this is because of some dependency conflicts or changes in latest wordpress
   version.
 * For me the following workaround/fix is working in version 1.24.1 (just download
   plugin, replace the following files, zip it again and replace it in admin panel):
   
   file: admin\admin.phpreplace “admin_head()” function starting at line 58 with
 *     ```wp-block-code
           public function admin_head() {        global $gmCore;        add_filter( 'admin_body_class', [ &$this, 'admin_body_class' ] );        $page = $gmCore->_get( 'page' );        if ( $page && ( false !== strpos( $page, 'GrandMedia' ) ) ) {            ?>            <style id="gmedia_admin_css">html, body {                    background: <?php echo isset( $_GET['gmediablank'] ) ? 'transparent' : '#708090'; ?>;                }</style>            <script>if(typeof initAutocomplete!=='function'){window.initAutocomplete=function(){};}if(typeof sprintf!=='function'){window.sprintf=function(){var a=arguments,s=a[0],i=1;return s.replace(/%((%)|s|d)/g,function(m){var v=null;if(m[2]){v=m[2];}else{v=a[i];if(m==='%d'){v=parseFloat(v);if(isNaN(v)){v=0;}}i++;}return v;});};}            </script>            <?php        }    }
       ```
   
 * and
 * file: admin\assets\js\gmedia.global.js
   replace the whole file with:
 *     ```wp-block-code
       /** * Gmedia Globals * * @var GmediaGallery */if ( ! ajaxurl ) {    //noinspection JSUnresolvedVariable.    var ajaxurl = GmediaGallery.ajaxurl;}if ( typeof initAutocomplete !== 'function' ) {    window.initAutocomplete = function() {};}if ( typeof sprintf !== 'function' ) {    window.sprintf = function() {        var args = arguments,            string = args[0],            i = 1;        return string.replace(/%((%)|s|d)/g, function(m) {            var val = null;            if ( m[2] ) {                val = m[2];            } else {                val = args[i];                switch ( m ) {                    case '%d':                        val = parseFloat(val);                        if ( isNaN(val) ) {                            val = 0;                        }                        break;                }                i++;            }            return val;        });    };}
       ```
   
 * What does it do? There are some functions in js missing probably because of dependency
   problems. The workaround introduce a mockup for missing initAutocomplete() function
   and introduces a new debug sprintf() function. In my opinion the changes are 
   not critical. But the plugin author should validate that. I hope this is possible
   because of Ukraine conflict.
 * best regards
 * Benjamin
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ninja Forms - The Contact Form Builder That Grows With You] PHP8 Compatibility](https://wordpress.org/support/topic/php8-compatibility-3/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php8-compatibility-3/#post-14070633)
 * Hi [@jmcelhaney](https://wordpress.org/support/users/jmcelhaney/)
 * No sorry i’m getting the same error with version 3.5.1:
    `Fatal error: Array 
   and string offset access syntax with curly braces is no longer supported in /
   var/www/wordpress/wp-content/plugins/ninja-forms/deprecated/includes/admin/edit-
   field/li.php on line 247`
 * If i’m change line 247 and replace the curly braces from:
    `} elseif ( !empty(
   $v) && is_string($v) && ( ('{' == $v{0} && '}' == $v{strlen($v) - 1}) || ('['
   == $v{0} && ']' == $v{strlen($v) - 1}) || preg_match('/^\(?function ?\(/', $v))){`
 * to
 * `} elseif ( !empty($v) && is_string($v) && ( ('{' == $v[0] && '}' == $v[strlen(
   $v) - 1]) || ('[' == $v[0] && ']' == $v[strlen($v) - 1]) || preg_match('/^\(?
   function ?\(/', $v) ) ) {`
 * then everything works…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP FullCalendar] JS Errors on running with WP 5.6](https://wordpress.org/support/topic/js-errors-on-running-with-wp-5-6/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-errors-on-running-with-wp-5-6/#post-13773071)
 * I had also issues with JS optimization. But after disabling it everything seems
   to run fine with the latest version 1.3. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP FullCalendar] JS Errors on running with WP 5.6](https://wordpress.org/support/topic/js-errors-on-running-with-wp-5-6/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-errors-on-running-with-wp-5-6/#post-13767949)
 * Thx for all the replies. Using the jQuery Migrate Helper plugin using the 1.12.4
   legacy setting did not fix anything for me. The error still exists…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP FullCalendar] JS Errors on running with WP 5.6](https://wordpress.org/support/topic/js-errors-on-running-with-wp-5-6/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/js-errors-on-running-with-wp-5-6/#post-13763956)
 * Update: There were some caching issues. So WP FullCalendar 1.1 JS components 
   were loaded. After flushing caches it looks a little bit better no but the following
   error is still there and nothing is shown…:
 * jquery.min.js?ver=3.5.1:2 Uncaught TypeError: Cannot read property ‘format’ of
   null
    at g (main.js?ver=1.2:1) at f (main.js?ver=1.2:1) at e (main.js?ver=1.2:
   1) at r (main.js?ver=1.2:1) at q (main.js?ver=1.2:1) at i (main.js?ver=1.2:1)
   at f (main.js?ver=1.2:1) at Ja.e [as render] (main.js?ver=1.2:1) at HTMLFormElement.
   <anonymous> (main.js?ver=1.2:1) at Function.each (jquery.min.js?ver=3.5.1:2)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Reusable Blocks Extended] Problems with using the_content filter hook](https://wordpress.org/support/topic/problems-with-using-the_content-filter-hook/)
 *  [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/problems-with-using-the_content-filter-hook/#post-13342734)
 * [@lucianobosco](https://wordpress.org/support/users/lucianobosco/)
    Just replace“
   the_content” with “reblex_the_content” in “reusable-blocks-extended.php” and 
   you will be fine 😉
 * [@plugin](https://wordpress.org/support/users/plugin/) Author: Could you please
   update the sources to this changes?
 * I had also issues with double instancing of the_content in hook. In CM Routes
   Manager for example it leads to a endless loop and a 503 error.
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin Load Filter] Cannot set plugins to to be loaded at”Admin Page”](https://wordpress.org/support/topic/cannot-set-plugins-to-to-be-loaded-atadmin-page/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/cannot-set-plugins-to-to-be-loaded-atadmin-page/#post-13219924)
 * Thank you for your reply.
 * Correct, the problem is in the admin area. The plugs of “URL Filter for Expert”
   are changing if i’m clicking on it. The plugs of “Page Type Filter” are not changing.
   But theres seems to be a link because my cursor changes if i’m hover over it.
 * I’m running many other plugins. So you are suggesting to deactivate one by one
   to see whats causing the issues right?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP] Disable plugins on amp pages](https://wordpress.org/support/topic/disable-plugins-on-amp-pages-2/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/disable-plugins-on-amp-pages-2/#post-11194033)
 * After some search i found a proper and very flexible solution. There is a plugin
   called “plugin load filter”: [https://de.wordpress.org/plugins/plugin-load-filter/](https://de.wordpress.org/plugins/plugin-load-filter/)
   
   With this plugin you are able to define filter patterns for URLs (for example
   amp). Furthermore you are also able to define which plugins shall be disabled/
   enabled on a match. So thats exactly the behavior i needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Rollback - Rollback Plugins and Themes] Rollback Button grayed out](https://wordpress.org/support/topic/rollback-button-grayed-out/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [8 years ago](https://wordpress.org/support/topic/rollback-button-grayed-out/#post-10445858)
 * Good idea, but unfurtunatly there is no “Rollback” link in plugin list within
   troubleshoot mode (even with just only enabling/troubleshoot Rollback plugin):
   [https://ibb.co/nPzbfT](https://ibb.co/nPzbfT)
 * So theres no chance to check it :/
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Rollback - Rollback Plugins and Themes] Rollback Button grayed out](https://wordpress.org/support/topic/rollback-button-grayed-out/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [8 years ago](https://wordpress.org/support/topic/rollback-button-grayed-out/#post-10445394)
 * Thank you for your reply!
 * I also tried it with a different browser…so it’s not browser specific…
 * The Rollback button is just disabled… on click nothing happens:
    [https://ibb.co/dHWiuo](https://ibb.co/dHWiuo)
 * But there is a JS error:
    [https://ibb.co/hK3rfT](https://ibb.co/hK3rfT)
 * Probably a problem with other plugins?
 * The problem is that i have lot’s of plugins installed….
    +————————————-+———-+———–
   +————+ | name | status | update | version | +————————————-+———-+———–+————+ | 
   add-meta-tags | active | none | 2.11.3 | | advanced-cron-manager | active | none
   | 2.3.2 | | advanced-iframe | active | none | 7.5.2 | | all-in-one-wp-security-
   and-firewall | active | none | 4.3.5 | | anti-tor | active | none | 1.0.0 | |
   archives-calendar-widget | active | none | 1.0.12 | | asset-queue-manager | active
   | none | 1.0.3 | | automatic-post-tagger | active | none | 1.8.2 | | better-search-
   replace | active | none | 1.3.2 | | bj-lazy-load | active | none | 1.0.9 | | 
   cloudflare | active | none | 3.3.2 | | disable-comments | active | none | 1.7.1
   | | disable-password-reset | active | none | 1.0 | | display-widgets | active
   | none | 2.7 | | download-manager | active | available | 2.8.7 | | duplicate-
   post | active | none | 3.2.2 | | elementor | active | available | 2.0.3 | | email-
   address-encoder | active | none | 1.0.7 | | exclude-pages-from-menu | active 
   | none | 2.0 | | fancybox-for-wordpress | active | none | 3.0.13 | | favicon-
   by-realfavicongenerator | active | none | 1.3.11 | | fix-duplicates | active 
   | none | 1.0.4 | | fix-image-rotation | active | none | 2.1.1 | | grand-media
   | active | none | 1.12.11 | | google-sitemap-generator | active | none | 4.0.9
   | | heartbeat-control | active | none | 1.2.3 | | hide-unwanted-shortcodes | 
   active | none | 1.1 | | imagemagick-engine | active | none | 1.5.2 | | infinite-
   timeline | active | none | 1.0 | | inline-google-spreadsheet-viewer | active 
   | none | 0.12.8 | | media-library-assistant | active | none | 2.74 | | memcached-
   is-your-friend | active | none | 2.0.0 | | ml-slider | active | none | 3.8.1 
   | | miniorange-2-factor-authentication | active | none | 5.0.12 | | ninja-forms
   | active | none | 3.3.7 | | osd-exclude-from-search-results | active | none |
   2.4 | | osm | active | available | 3.5 | | page-links-to | active | none | 2.11.1
   | | page-loading-effects | active | none | 1.0.1 | | plugin-load-filter | active
   | none | 3.0.3 | | private-content | active | none | 4.3 | | search-filter | 
   active | none | 1.2.10 | | search-autocomplete | active | none | 2.1.16 | | shortcode-
   widget | active | none | 1.5.1 | | simple-301-redirects | active | none | 1.07
   | | simple-custom-css | active | none | 4.0.1 | | simple-page-ordering | active
   | none | 2.3.2 | | qr-code-generator-widget | active | none | 1.10 | | sitemap
   | active | none | 4.3 | | strava_stats | active | none | 1 | | tags-all-in-one
   | active | none | 1.0.5 | | tinymce-advanced | active | none | 4.7.11 | | updraftplus
   | active | none | 1.14.11 | | uptime-robot-monitor | active | none | 2.2.2 | 
   | validated | active | none | 2.1.2 | | vevida-optimizer | active | none | 1.2
   | | windsor-strava-athlete | active | none | 1.3.5 | | wp-auto-featured-image
   | active | none | 1.5 | | wp-gpx-maps | active | available | 1.3.16 | | wp-optimize
   | active | none | 2.2.4 | | wp-typography | active | none | 5.3.5 | | wp-cloudy
   | active | none | 4.4.7 | | wp-display-header | active | none | 6 | | wp-fastest-
   cache | active | none | 0.8.8.1 | | wp-fullcalendar | active | none | 1.2 | |
   wp-missed-schedule-posts | active | none | 1.1 | | wp-rollback | active | none
   | 1.5.1 | | wp-script-optimizer | active | none | 0.4.5 | | wp-statistics | active
   | none | 12.3.6.3 | | wp-to-twitter | active | none | 3.3.6 | | wptouch | active
   | none | 4.3.28 | | wp-ulike | active | available | 3.3.1 | | wp-historical-weather
   | active | none | 1.0 | | wordpress-seo | active | none | 7.7.1 | | PluginOrganizerMU.
   class | must-use | none | 9.3 | | object-cache.php | dropin | none | | +————————————-
   +———-+———–+————+
 * I already tried to deactivate:
    Asset Queue Manager BJ Lazy Load plugin load 
   filter WP Scripts & Styles Optimizer
 * because these plugins are changing the load behavior of JS and Styles. But the
   problem is still existing.
 * Do you have any idea? Or point were i can start to search for the error?
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Rollback - Rollback Plugins and Themes] Rollback Button grayed out](https://wordpress.org/support/topic/rollback-button-grayed-out/)
 *  Thread Starter [bebablub](https://wordpress.org/support/users/bebablub/)
 * (@bebablub)
 * [8 years ago](https://wordpress.org/support/topic/rollback-button-grayed-out/#post-10442208)
 * little addition: this also happens with activated and deactivated plugins.
 * I’m running version 1.51
 * Thank you for your help!

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