• Resolved indiatrotter

    (@indiatrotter)


    Dear team,

    I am getting the below fatal error when I click the plugin menu on the left hand panel of WP. Kindly help me with a resoltion

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function yydev_show_pages_id_admin_notice(), 0 passed in /home2/indiafij/public_html/wp-content/plugins/ml-slider/ml-slider.php on line 191 and exactly 1 expected in /home2/indiafij/public_html/wp-content/plugins/show-posts-and-pages-id/notices.php:71 Stack trace: #0 /home2/indiafij/public_html/wp-content/plugins/ml-slider/ml-slider.php(191): yydev_show_pages_id_admin_notice() #1 /home2/indiafij/public_html/wp-includes/class-wp-hook.php(324): MetaSliderPlugin->filter_admin_notices(”) #2 /home2/indiafij/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /home2/indiafij/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home2/indiafij/public_html/wp-admin/admin-header.php(267): do_action(‘in_admin_header’) #5 /home2/indiafij/public_html/wp-admin/admin.php(239): require_once(‘/home2/indiafij…’) #6 {main} thrown in?/home2/indiafij/public_html/wp-content/plugins/show-posts-and-pages-id/notices.php?on line?71

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @indiatrotter

    Thanks for using MetaSlider.

    It looks like this problem is caused by that “Show Posts ID” plugin loading a big banner on every page. Here’s their banner on the Users screen: https://imgur.com/a/S2C28vv

    I tested and you should be able to solve this problem by dismissing that banner.

    We’ll see if there’s a workaround on our side. But it’s also worth asking their developer to stop forcing that banner to load everywhere in the admin.

    Thread Starter indiatrotter

    (@indiatrotter)

    Thank you very much, Steve…It got resolved. The reason I actually went to your plugin is, small black corners appeared on the edges of the slides since yesterday.

    ….https://snipboard.io/QXyLcb.jpg

    Not sure how those came up. The background of the wrapper is transparent…Can you please help on this?

    Thank you once again

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @indiatrotter. That will be caused by the CSS of your site. Can you share a direct link to the slideshow you’re building?

    Thread Starter indiatrotter

    (@indiatrotter)

    Thank you for the response, Mr Steve.

    May I know what you meant by ”?direct link to the slideshow”? Please let me know how I can create the direct link for you. The slideshow is present on 2 pages:

    1. https://indiatrotter.com/
    2. https://indiatrotter.com/india-blog-travel-information/

    Thank you…

    Plugin Contributor rochdesigns

    (@rochdesigns)

    Hi @indiatrotter looks like there’s custom CSS that affects the slideshows. Please add this CSS to override it:

    .metaslider .slides img {
    border-radius: 0 !important;
    }
    rfahn27

    (@rfahn27)

    Received a nearly identical WP Critical Error for MetaSlider yesterday for our website built on the BoldGrid WordPress platform. Submitted the error email to our hosting company. They debugged the Metaslider plugin and isolated the specific error, virtually identical to indiatrotter’s, then edited out line 191. Once that was done, the MetaSlider plugin functioned and no longer produce a Critical Error message. The hosting tech told me that this should not be considered a permanent fix, and that I should report the issue to WordPress and MetaSlider so a proper code re-write can be made and an update released.

    Plugin Author Steve Burge

    (@stevejburge)

    @rfahn27 Was the same plugin causing the issue: “Show Posts ID”?

    rfahn27

    (@rfahn27)

    Our current MetaSlider plugin is Version 3.90.0. I don’t know the version used by indiatrotter.

    By the way, this version’s arrows no longer appear when crossed by a mouse pointer; instead, they display permanently and prominently on the slide images when enabled — and, in my opinion, take away from the presentation. To get the ephemeral arrows instead of permanent arrows, should I revert to an older version of MetaSlider? If so, which one do you recommend?

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @rfahn27. The original problem was caused by a plugin called “Show Posts ID”. Are you also using that plugin?

    rfahn27

    (@rfahn27)

    No. However, our initial error message suggested that our BoldGrid Inspirations plugin might not be fully compatible with the latest MetaSlider update. Anything to this?

    Plugin Author Steve Burge

    (@stevejburge)

    I’m testing MetaSlider now with the BoldGrid plugin and there’s no issue. However, it looks like the “Inspirations” plugin is a separate commercial offering? We don’t have a copy of that to test with.

    Can you ask their support to send a copy of the error message?

    rfahn27

    (@rfahn27)

    Here it is (good luck!):

    Hello Ron, thank you for contacting Support, my name is Mohamed G.
    ?
    As per our conversation today, once WP Debugging was enabled, this is the specific error:
    ?
    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Boldgrid_Inspirations_Stock_Photography::add_dashboard_media_tabs(), 0 passed in /home/homeat5/public_html/wp-content/plugins/ml-slider/ml-slider.php on line 191 and exactly 1 expected in /home/homeat5/public_html/wp-content/plugins/boldgrid-inspirations/includes/class-boldgrid-inspirations-stock-photography.php:27 Stack trace: #0 /home/homeat5/public_html/wp-content/plugins/ml-slider/ml-slider.php(191): Boldgrid_Inspirations_Stock_Photography->add_dashboard_media_tabs() #1 /home/homeat5/public_html/wp-includes/class-wp-hook.php(324): MetaSliderPlugin->filter_admin_notices('') #2 /home/homeat5/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /home/homeat5/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/homeat5/public_html/wp-admin/admin-header.php(267): do_action('in_admin_header') #5 /home/homeat5/public_html/wp-admin/admin.php(239): require_once('/home/homeat5/p…') #6 {main} thrown in /home/homeat5/public_html/wp-content/plugins/boldgrid-inspirations/includes/class-boldgrid-inspirations-stock-photography.php on line 27
    ?

    Plugin Author Steve Burge

    (@stevejburge)

    Thanks for reporting that, @rfahn27. We’ll find a workaround for the next release of MetaSlider.

    rfahn27

    (@rfahn27)

    Happy to help. Also happy that this bug will be fixed in the next version of MetaSlider.

    By the way, hopefully the next version’s arrows will offer ephemeral arrows as an option (ephemeral arrows appear when scrolled over; otherwise they are not visible on the image). If not part of the next revision, to have access to ephemeral arrows, should I revert to an older version of MetaSlider? If so, which one do you recommend?

    Thanks!

    Plugin Author Steve Burge

    (@stevejburge)

    Thanks @rfahn27. Yes, we’ll consider adding that option for a future version. It’s generally better to show users that it’s a slideshow that they can control, but we understand the need to hide the arrows in some situations.

Viewing 15 replies - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.