• Hello there!

    The page I’ve attached the link to shows error 500 because ColorMag generates the following PHP error:

    PHP Fatal error: Uncaught ArgumentCountError: 5 arguments are required, 2 given in /home/customer/www/DOMAIN.com/public_html/wp-content/themes/colormag/inc/template-tags.php:513

    Line 513 from the file /home/customer/www/DOMAIN.com/public_html/wp-content/themes/colormag/inc/template-tags.php has the following code:


    printf(
    get_comment_author_link(),
    // If current post author is also comment author, make it known visually.
    ( $comment->user_id === $post->post_author ) ? ‘<span>’ . esc_html__( ‘Post author’, ‘colormag’ ) . ‘</span>’ : ”
    );

    It seems there is a mismatch in the number of arguments being passed to the “print” function. The “print” function expects a specific number of arguments based on the format string provided, but it seems that your use of “print” is not aligned with its intended use.

    Is the theme compatible with PHP 8.2 (which is what the website is using)? Do you have a fix for that error?

    Thank you!

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

Viewing 1 replies (of 1 total)
  • Rohit

    (@rohitkc32)

    Hi @russiainpillole.,

    Thanks for writing us.

    Since, the Critical error is caused in only the page you mentioned, it is possible that it is caused by a plugin. I suggest you deactivate your plugins and check the page again if the issue resolved you can activate the plugins one by one and see which plugin is causing the issue.

    Let me know if it helps or not, and I will get back to you.
    Regards!

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