• Resolved kaostc

    (@kaostc)


    When I have both this plugins activated, I get the following error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function MultipleAuthors\Plugin::filter_jetpack_open_graph_tags(), 1 passed in /var/www/clients/client1/web4/web/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected in /var/www/clients/client1/web4/web/wp-content/plugins/publishpress-authors/src/core/Plugin.php:1710 Stack trace: #0 /var/www/clients/client1/web4/web/wp-includes/class-wp-hook.php(324): MultipleAuthors\Plugin->filter_jetpack_open_graph_tags() #1 /var/www/clients/client1/web4/web/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /var/www/clients/client1/web4/web/wp-content/plugins/jetpack-social/src/class-meta-tags.php(344): apply_filters() #3 /var/www/clients/client1/web4/web/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Social\Meta_Tags->render_tags() #4 /var/www/clients/client1/web4/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /var/www/clients/client1/web4/web/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/clients/client1/web4/web/wp-includes/general-template.php(3064): do_action() #7 /var/www/clients/client1/web4/web/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-header-template.php(11): wp_head() #8 /var/www/clients/client1/web4/web/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(216): require_once(‘…’) #9 /var/www/clients/client1/web4/web/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(247): et_theme_builder_frontend_override_partial() #10 /var/www/clients/client1/web4/web/wp-includes/class-wp-hook.php(326): et_theme_builder_frontend_override_header() #11 /var/www/clients/client1/web4/web/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /var/www/clients/client1/web4/web/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /var/www/clients/client1/web4/web/wp-includes/general-template.php(38): do_action() #14 /var/www/clients/client1/web4/web/wp-content/themes/Divi/page.php(3): get_header() #15 /var/www/clients/client1/web4/web/wp-includes/template-loader.php(106): include(‘…’) #16 /var/www/clients/client1/web4/web/wp-blog-header.php(19): require_once(‘…’) #17 /var/www/clients/client1/web4/web/index.php(17): require(‘…’) #18 {main} thrown in /var/www/clients/client1/web4/web/wp-content/plugins/publishpress-authors/src/core/Plugin.php on line 1710

    Thanks a lot for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @kaostc,

    Thanks for reaching out and for providing the details of the error! It looks like the issue stems from a compatibility conflict between Jetpack Social and PublishPress Authors, specifically the filter_jetpack_open_graph_tags function in PublishPress Authors expects two arguments, but it’s only receiving one. 

    We appreciate you reporting this, and we saw that the PublishPress team has acknowledged it on their end in your other thread post. While they’re looking into a potential workaround, we’d also recommend keeping your plugins updated to ensure you get any compatibility fixes they may release.

    In the meantime, a temporary solution could be disabling PublishPress Authors while using Jetpack Social (if that works for your setup). Some users may also choose to manually adjust function parameters in their theme’s functions.php file, but please note that providing assistance with custom code modifications is outside the scope of our support.

    Thread Starter kaostc

    (@kaostc)

    Hi,

    I just want to emphasize that what PublishPress said (as far I understood) is that ideally Jetpack should provide the solution, and they will provide a workaround meanwhile.

    From your second paragraph I understand that you Jetpack are not going to address this in any way, since you refer me to keep on the fixes they (PPress) may release.

    So, none of the parts has acknowledged you are going to provide a solution, PublishPress has acknowledge they are going to provide a workaround, not a solution.

    I don’t know which of both parts (Jetpack Social or PublishPress Authors) is responsible for/interested in providing a solution for this issue, I supose is a “move the bench closer to the piano or the piano closer to the bench” situation, but what I expect from both parts is being clear about this and any other issue. So, can you clarify that that what you are saying is that you are not taking any action on this or I have missunderstood you?

    Hi @kaostc,

    Thanks for your patience! After investigating, we found the issue is related to how the PublishPress Authors plugin uses a filter. The Jetpack Social team has addressed the issue on their GitHub and replied on the other thread, and the PublishPress team is aware of the situation. We’re working together to provide a resolution.

    I’m going to mark this thread as resolved. In the meantime, you can follow the progress on the GitHub issue here.

    Thread Starter kaostc

    (@kaostc)

    Really thanks to you for your attention and resolution of the issue.

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

The topic ‘Fatal error with plugin Publishpress authors’ is closed to new replies.