Forum Replies Created

Viewing 15 replies - 1 through 15 (of 30 total)
  • metamorpher

    (@metamorpher)

    I think it’s the new logic in the one_pixel_fix function the one that applies a default 100x100px to the image. When those attributes were set to null in the previous version there was no issue. I don’t know if the standards changed and that’s the reason this function was rewritten, but in the meantime the solution seems to downgrade to the previous version.
    FYI: I’m having the same trouble. Funny thing is that the height and width are being outputted twice. The first iteration occurs at the beginning of the IMG tag, and the last one at the end. The one at the beginning is the 100x100px, and the last one is the correct one. Sadly the browser takes the first parameters occurrence and renders that one, not the last ones.

    Thread Starter metamorpher

    (@metamorpher)

    @takayukister here’s a list of the active plugins:

    • Admin Menu Editor
    • Breadcrumb NavXT
    • Classic Editor
    • Classic Widgets
    • Clone Posts
    • CMB2
    • Contact Form 7
    • Custom Sidebars
    • Diamond Certified Company Widget
    • FooBox Image Lightbox
    • Makeclean Toolkit
    • Redirection
    • Redux
    • Scroll Triggered Box
    • SendGrid
    • Slider Revolution
    • WordPress Importer
    • WPBakery Visual Composer
    • Select Yoast SEO
    • Yoast SEO

    But the error is coming from an asset inside your plugin folder.

    Thread Starter metamorpher

    (@metamorpher)

    @edge22 thanks man! I’ll wait for the update on the WP repo.

    Thread Starter metamorpher

    (@metamorpher)

    Cool!
    @aashik it worked! With that little snippet it did the trick. Thanks for that! I think that you should point the plugin to that URL from now on rather than the way you’re doing it now, because this way works better, apparently.
    Thank you very much for your support!

    Could you please try to do the following:

    1. Go to the External links settings page
    2. Go to the Exceptions tab.
    3. On the first option that reads “Apply settings on”, uncheck the “All contents” box.
    4. Select all the other options that appeared below (Post content, Comments, All widgets)

    Because the plugin apparently retrieves the whole page via an output buffer (that’s the only way tho, because there’s no filter or action to retrieve the whole page that’s gonna be rendered) to re-render the page with the plugin options applied over the links. BUT, if you do the other way (separately from the ‘All contents’ option) it does apply directly and only to the real filters, like the_content, the_title, and so.

    By this point I believe that another plugin installed in your setup must be using the same technique to retrieve the whole content and re-display it, and that’s why WP feels the content ends abruptly.

    So, could you please try that and let us all know if the issue has to do with the output buffer and not other filter or content retrieving.

    @savingtalents could you please provide your current setup of plugins, the settings of your external links, your server setup, or at least the PHP version you’re running. Any more information would be highly appreciated.

    Thread Starter metamorpher

    (@metamorpher)

    If you guys want to know what the issue was, then, the JS of my coworker was using wpColorPicker to listen to changes of the field. Changing that function name for iris was enough to fix ’em. Haha.

    Thread Starter metamorpher

    (@metamorpher)

    Sorry, my bad. I have an js that was being called by a coworker and he didn’t tell me that he was using it. That was breaking the whole schema. Sorry for the trouble.

    Thread Starter metamorpher

    (@metamorpher)

    Hi @rilwis, this is my array for the field:

    
    array(
    	'name'	=> __( "Color de Cabecera" ),
    	'id'	=> 'color_overlay',
    	'type'	=> 'color',
    	'clone'	=> false,
    )
    

    What I found out is that if I enable cloning of that field, I press Add More and it adds another field without any problem. But the parent object is unusable. Weird.

    For the record: I’m testing it on local, and don’t have any plugin active, but the one I made my custom post type and call the rwmb_meta_boxes filter.

    • This reply was modified 4 years, 7 months ago by metamorpher.
    Thread Starter metamorpher

    (@metamorpher)

    Hi @timersys. Thank you for the quick response. I’m double checking it. I also had a peek at the code and can see it doesn’t come from the plugin, but maybe the SDK, I don’t know.

    Somewhere in the procedure of clicking the login button and open the new window onto facebook, the given URL gets the GET called display=popup. I don’t know whether it’s a thing from the SDK or the fact I still have my FB app in development mode, or something like that.

    Funny thing: When tried to login in mobile mode (just within my desktop browser, not an actual mobile one) I get the Permissions Modal correctly displayed, not as a “popup” display mode.

    I came to the forum to do the same observation. Maybe adding a lang field on the settings of the plugin will help.

    I’m using the Facebook SDK to allow users login with their FB credentials, and this plugin calling the SDK in english re-translates the login button.

    Thanks in advance guys.

    Hello. I have a question about the caption of the login button.

    Whenever I try to use the do_action('facebook_login_button') I get the caption in English. But on wp-login.php I get in the correct locale (I’m using spanish as the main locale of my site).

    I would like to ask why this is happening and how to correct it. Thank you in advance 😉

    Edit: I was using another plugin which loaded the facebook SDK above everything else and was using the en_US. Sorry for the trouble guys 😉

    • This reply was modified 6 years, 4 months ago by metamorpher.
    Thread Starter metamorpher

    (@metamorpher)

    Well, the problem apparently was from my side. I didn’t enable the api after registering. Dumb me. 🙂

    You can edit the file egany_facebook_to_wordpress.php.

    Find this line in the constructor
    add_filter( 'the_content', array( $this, 'the_content' ) );
    and comment it.

    Hello keppe. I’m guessing this is a feature they’re offering in the paid version. As you can see when installing the plugin, the name adds (a free version) at the end.

    Anyway, I came to read the code and made some tweaks to store images associated to the facebook posts I’m trying to receive (apparently facebook api changed lately but developers of this plugin didn’t realized). And by chance I stumbled the same error.

    At the activation of the plugin, the wp-crons need to be registered. But those lines are commented in the constructor of the Egany_FB_Group_To_WP class.

    I guess the possible solution would be to uncomment the lines:

    
    register_activation_hook( __FILE__, array( $this, 'activate' ) );
    register_deactivation_hook( __FILE__, array( $this, 'deactivate' ) );
    

    in the constructor, and the deactivate and active the plugin again.

    Let us know if that worked for you.

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