• Resolved svaldesm

    (@svaldesm)


    Hi there, I tried this plugin on my staging site and is conflicting with other plugin (that so far has never given me problems).
    The other plugin is Faster Woo Widgets by Dave Hilditch (WP Intense).

    After disablinga any other plugin and testing this two, the error I see on apache is this:

    [Mon Nov 26 12:41:01.228621 2018] [proxy_fcgi:error] [pid 4537] [client 127.0.0.1:45421] AH01067: Failed to read FastCGI header
    [Mon Nov 26 12:41:01.230204 2018] [proxy_fcgi:error] [pid 4537] (104)Connection reset by peer: [client 127.0.0.1:45421] AH01075: Error dispatching request to : 

    That error repeats over and over when I try to load the admin settings of MetaSlider.
    This is what I got from apache’s slow file:

    [26-Nov-2018 12:40:55]  [pool frmwhybksk] pid 4536
    script_filename = /home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-admin/admin.php
    [0x00007f5473816370] __construct() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/post.php:582
    [0x00007f54738162c0] get_post() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/class-wp-query.php:2838
    [0x00007f5473816250] array_map() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/class-wp-query.php:2838
    [0x00007f5473815b70] get_posts() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/class-wp-query.php:3230
    [0x00007f5473815af0] query() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/class-wp-query.php:3336
    [0x00007f5473815a80] __construct() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/inc/slider/metaslider.class.php:163
    [0x00007f54738159c0] get_slides() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/inc/slider/metaslider.class.php:179
    [0x00007f5473815810] populate_slides() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/inc/slider/metaslider.class.php:28
    [0x00007f5473815780] __construct() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/inc/slider/metaslider.flex.class.php:26
    [0x00007f54738156f0] __construct() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/ml-slider.php:595
    [0x00007f5473815660] load_slider() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/ml-slider.php:576
    [0x00007f54738155b0] set_slider() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/ml-slider.php:1302
    [0x00007f5473815490] render_admin_page() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-content/plugins/ml-slider/admin/Pages.php:181
    [0x00007f5473815430] render_metaslider_page() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/class-wp-hook.php:286
    [0x00007f5473815350] apply_filters() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/class-wp-hook.php:310
    [0x00007f54738152e0] do_action() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/plugin.php:453
    [0x00007f54738151e0] do_action() /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-admin/admin.php:224

    Any ideas where this error might be coming from? I already spoke to the dev of the plugin and will take a look.

    Thanks!

    • This topic was modified 7 years, 6 months ago by svaldesm.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi @svaldesm,

    My guess would be that the server is low on memory. Any way you can check the system resources available and being used?

    Thread Starter svaldesm

    (@svaldesm)

    Thanks for the answer @kbatdorf,

    I’ve checked my server and apparently it has memory for that (700-400mb free). In my opinion that would be unlikely because with other 20 plugins active it has no problem, but with only these 2 it crashes, and only when entering to that particular path (/wp-admin/admin.php?page=metaslider)

    If you would like, I can give you credentials so you can check for yourself if that’s the case. Do you have any other theory of why is this happening?

    Thanks!

    Thread Starter svaldesm

    (@svaldesm)

    So, I tried this on production site to discard the memory issue. It was that!

    Thanks for the great support. It’s working fine now.

    Thread Starter svaldesm

    (@svaldesm)

    OK, so it wasn’t fixed. It loads the plugin and I’m able to see the “dashboard”. But when I click on “New” it freezes and take years to load. Seems like it isn’t fixed yet.

    Do you know what else can be debugged to check the actual error?

    Thanks

    Hi @svaldesm,

    You could try to enable debugging by adding these to wp-config.php. We don’t really run any resource intensive code though. Have you tried it with every other plugin disabled, including plugins you don’t suspect as being an issue?

    For debugging:

    define('SAVEQUERIES', true);
    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', true);
    define('SCRIPT_DEBUG', true);
    Thread Starter svaldesm

    (@svaldesm)

    The tests I did on my staging server where with all plugins disabled except for this two. If I only have Metaslider, it worked fine. I’m speaking with the other dev as well, but it’s very strange because the other plugin doesn’t have any conflict with other plugins either.

    On my staging server I get this:

    Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 28672 bytes) in /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/wp-db.php on line 1889

    Warning: Error while sending QUERY packet. PID=4636 in /mnt/BLOCKSTORAGE/home/188672.cloudwaysapps.com/frmwhybksk/public_html/wp-includes/wp-db.php on line 1924

    So, apparently it doesn’t work because of memory exhaustion. BUT, on my production server, I did the same and it never loads completely, showing this error on debug.log

    [27-Nov-2018 12:06:38 UTC] PHP Warning:  Illegal string offset 'height' in /home/143029.cloudwaysapps.com/gnjtdzdqrj/public_html/wp-content/plugins/ml-slider/inc/slide/metaslide.image.class.php on line 262
    [27-Nov-2018 12:06:38 UTC] PHP Notice:  Uninitialized string offset: 0 in /home/143029.cloudwaysapps.com/gnjtdzdqrj/public_html/wp-content/plugins/ml-slider/inc/slide/metaslide.image.class.php on line 262

    It’s a bit strange because that line has this code:

    <input type='hidden' name='resize_slide_id' data-slide_id='{$this->slide->ID}' data-width='{$this->settings['width']}' data-height='{$this->settings['height']}' /> so maybe I’m not getting to the full error.

    Whenever I turn on MetaSlider and click on the dashboard link for it, the connection with my server freezes and I can’t login for at least 20min. I have to sign in on my mobile and sign in, disable it and wait some time until it de-freezes. I think it gets into some sort of loop.

    Any way that we can debug this on my staging server? Maybe it’s faster.
    Thanks for your answers

    • This reply was modified 7 years, 6 months ago by svaldesm.
    • This reply was modified 7 years, 6 months ago by svaldesm.

    Hey @svaldesm,

    What do you have set for the slideshow height in the settings?

    Try adding a non-zero value there and see if the error goes away.

    What version of PHP are you using?

    Thread Starter svaldesm

    (@svaldesm)

    Hi @kbat82,

    I didn’t create any slideshow, seems like there were pre-created.
    I haven’t set any height for any slider.

    I’m using PHP 7.1

    How can I change the height of the slideshow if I haven’t created any?

    Thanks!

    Hi,

    Have you been to the MetaSlider settings page? The function youre seeing the error from is only run on the settings page. Do you see any errors on the settings page?

    The plugin wont create any slideshows on its own. And on the right side you can edit the width and height.

    Thread Starter svaldesm

    (@svaldesm)

    Hi,
    Unfortunately I’m unable to get to the settings page. If I try to get there, it will get on a loop and I won’t be able to login to my WP account.

    I’m not sure, but in case I created a slideshow with height = 0, how can I change that in the database? Because I can’t get to the options right now.

    Thanks

    Hi,

    You would have to find the id of the slideshow then the corresponding meta_key ml-slider_settings in the wp_postmeta table.

    Setting the height to 0 shouldn’t cause anything to break though.

    The error you see in your first post, where are you seeing it?

    Have you tried to disable all plugins? Are you not able to get to the settings page then?

    Hi @svaldesm,

    I’m going to mark this as resolved as we didn’t hear back, but please feel free to comment or open a new issue if needed, thanks!

    Thread Starter svaldesm

    (@svaldesm)

    Hi @kbatdorf,

    The issue persists, even when updating to the last version.
    What would be your approach? I have a 16GB server so it is not that.
    I tried changing the theme but it didn’t work either.

    Could it be a conflict? How can I debug this further?
    I can give you admin access if you want. This is very uncommon in our case, because almost all plugins always work great.

    Hi @svaldesm,

    Are there any new symptoms? Can you post the errors again? If you need to paste a lot use a service like pastebin.com

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

The topic ‘Conflicting error with another plugin’ is closed to new replies.