<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									PHP Fatal error and plugin conflict - How-To and Troubleshooting				            </title>
            <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Thu, 12 Nov 2026 23:09:32 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22524</link>
                        <pubDate>Wed, 29 Apr 2020 10:46:47 +0000</pubDate>
                        <description><![CDATA[Posted by: @karlo 
Thanks. When can we expect update release?

I&#039;m sorry but we can&#039;t provide any ETA yet.]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="16932" data-postid="22510" data-mention="karlo">
<div class="wpforo-post-quote-author"><strong> Posted by: @karlo </strong></div>
<p>Thanks. When can we expect update release?</p>
</blockquote>
<p>I'm sorry but we can't provide any ETA yet.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Elvina</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22524</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22510</link>
                        <pubDate>Tue, 28 Apr 2020 14:57:35 +0000</pubDate>
                        <description><![CDATA[@astghik
 {pear}:smile: 
Thanks. When can we expect update release?
By the way, calling get_avatar(), from anywhere, without optional parameters is absolutely legitimate WP code.]]></description>
                        <content:encoded><![CDATA[<p>@astghik</p>
<p> {pear}:smile: </p>
<p>Thanks. When can we expect update release?</p>
<p>By the way, calling <a href="https://developer.wordpress.org/reference/functions/get_avatar/" target="true">get_avatar()</a>, from anywhere, without optional parameters is absolutely legitimate WP code.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Karlo</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22510</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22505</link>
                        <pubDate>Tue, 28 Apr 2020 11:40:57 +0000</pubDate>
                        <description><![CDATA[@karlo,
This is not the wpDiscuz plugin issue for sure. We just use the hook to change avatars we don&#039;t need to call a function.
However, we&#039;ve made some changes in the plugin core and mak...]]></description>
                        <content:encoded><![CDATA[<p>@karlo,</p>
<p>This is not the wpDiscuz plugin issue for sure. We just use the hook to change avatars we don't need to call a function.</p>
<p>However, we've made some changes in the plugin core and make the sixth parameter non-required to avoid such issues with the other plugins.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22505</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22488</link>
                        <pubDate>Tue, 28 Apr 2020 01:25:45 +0000</pubDate>
                        <description><![CDATA[Correction to my previous post:
Insteadhttps://developer.wordpress.org/reference/functions/get_avatar/]]></description>
                        <content:encoded><![CDATA[<p>Correction to my previous post:</p>
<p>Instead <br /><a href="https://developer.wordpress.org/reference/hooks/get_avatar/">https://developer.wordpress.org/reference/hooks/get_avatar/</a><br />use <br /><a href="https://developer.wordpress.org/reference/functions/get_avatar/">https://developer.wordpress.org/reference/functions/get_avatar/</a></p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Karlo</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22488</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22487</link>
                        <pubDate>Tue, 28 Apr 2020 01:05:07 +0000</pubDate>
                        <description><![CDATA[Posted by: @astghik 
@progressology,
this is not a wpDiscuz issue for sure. The plugin doesn&#039;t pass all the arguments of the following filter, and it causes the issue. They should check an...]]></description>
                        <content:encoded><![CDATA[<blockquote data-userid="6750" data-postid="14835" data-mention="astghik">
<div class="wpforo-post-quote-author"><strong> Posted by: @astghik </strong></div>
<p>@progressology,</p>
<p>this is not a wpDiscuz issue for sure. The plugin doesn't pass all the arguments of the following filter, and it causes the issue. They should check and make sure all those arguments are passed, as all arguments are necessary for wpDiscuz plugin work.</p>
<pre>return apply_filters( 'get_avatar', $avatar, $id_or_email, $size, $default, $alt, $args );</pre>
</blockquote>
<p><strong>This is a wpDiscuz issue for sure!</strong> <br /><strong>Your code REQUIRES OPTIONAL ARGUMENT</strong>, <br />which is, BTW, added in WP 4.2<br /><br />See here: <a href="https://developer.wordpress.org/reference/hooks/get_avatar/">https://developer.wordpress.org/reference/hooks/get_avatar/</a><br /><br />And WP code/docs here<br /><a href="https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/pluggable.php#L2608">https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/pluggable.php#L2608</a><br /><a href="https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/pluggable.php#L2708">https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/pluggable.php#L2708</a><br /><br /><strong>So your plugin is screwing up every other plugin which is invoking <a href="https://developer.wordpress.org/reference/hooks/get_avatar/" target="true">get_avatar</a> with less than 6 arguments!</strong><br /><br /> {green}:displeased:   {green}:serious:  </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Karlo</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-22487</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-21863</link>
                        <pubDate>Wed, 08 Apr 2020 19:33:40 +0000</pubDate>
                        <description><![CDATA[@astghikIf you change line 506 in SocialLogin.php to

public function userAvatar($avatar, $id_or_email, $size, $default, $alt, $args=array()) {

 
Problem in your plugin will be solved ...]]></description>
                        <content:encoded><![CDATA[<p>@astghik<br /><br />If you change line 506 in SocialLogin.php to</p>
<div style="color: #d4d4d4;background-color: #1e1e1e;font-weight: normal;font-size: 14px;line-height: 19px">
<div><span style="color: #569cd6">public </span><span style="color: #569cd6">function </span><span style="color: #dcdcaa">userAvatar</span><span style="color: #d4d4d4">(</span><span style="color: #9cdcfe">$avatar</span><span style="color: #d4d4d4">,</span><span style="color: #9cdcfe"> $id_or_email</span><span style="color: #d4d4d4">,</span><span style="color: #9cdcfe"> $size</span><span style="color: #d4d4d4">,</span><span style="color: #9cdcfe"> $default</span><span style="color: #d4d4d4">,</span><span style="color: #9cdcfe"> $alt</span><span style="color: #d4d4d4">,</span><span style="color: #9cdcfe"> $args</span><span style="color: #d4d4d4">=</span><span style="color: #dcdcaa">array</span><span style="color: #d4d4d4">()) {</span></div>
</div>
<div> </div>
<div>Problem in your plugin will be solved  {green}:cool:  </div>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Karlo</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-21863</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14836</link>
                        <pubDate>Thu, 11 Apr 2019 11:58:22 +0000</pubDate>
                        <description><![CDATA[Ok, I will investigate further and get back to you.]]></description>
                        <content:encoded><![CDATA[<p>Ok, I will investigate further and get back to you.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Progressology</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14836</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14835</link>
                        <pubDate>Thu, 11 Apr 2019 11:54:03 +0000</pubDate>
                        <description><![CDATA[@progressology,this is not a wpDiscuz issue for sure. The plugin doesn&#039;t pass all the arguments of the following filter, and it causes the issue. They should check and make sure all those ar...]]></description>
                        <content:encoded><![CDATA[<p>@progressology,</p><p>this is not a wpDiscuz issue for sure. The plugin doesn't pass all the arguments of the following filter, and it causes the issue. They should check and make sure all those arguments are passed, as all arguments are necessary for wpDiscuz plugin work.</p><pre>return apply_filters( 'get_avatar', $avatar, $id_or_email, $size, $default, $alt, $args );</pre>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14835</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14833</link>
                        <pubDate>Thu, 11 Apr 2019 11:22:30 +0000</pubDate>
                        <description><![CDATA[That is not correct according to the Wordpress engineers.  I troubleshot the issue with them and they indicated the error is in your code.  The error in your code is generating a PHP error t...]]></description>
                        <content:encoded><![CDATA[<p>That is not correct according to the Wordpress engineers.  I troubleshot the issue with them and they indicated the error is in your code.  The error in your code is generating a PHP error that is causing conflicts with Wordpress and other plugins.  I’d suggest you investigate further and correct the error in your code as it is causing errors with the Simple History plugin and potentially other plugins as well.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Progressology</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14833</guid>
                    </item>
				                    <item>
                        <title>RE: PHP Fatal error and plugin conflict</title>
                        <link>https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14828</link>
                        <pubDate>Thu, 11 Apr 2019 10:02:25 +0000</pubDate>
                        <description><![CDATA[@progressology,The issue comes from the Simple History plugin. wpDiscuz uses WordPress core get_avatar()  function. This function has 6 parameters. The plugin also uses this hook and don&#039;t p...]]></description>
                        <content:encoded><![CDATA[<p>@progressology,</p><p>The issue comes from the Simple History plugin. wpDiscuz uses WordPress core <a href="https://developer.wordpress.org/reference/functions/get_avatar/" target="true">get_avatar() </a> function. This function has 6 parameters. The plugin also uses this hook and don't pass some of the arguments. </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/how-to-and-troubleshooting/">How-To and Troubleshooting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/how-to-and-troubleshooting/php-fatal-error-and-plugin-conflict/#post-14828</guid>
                    </item>
							        </channel>
        </rss>
		