Home › Forums › Add-ons › Options Page › 1.1.0 Update Loop › Reply To: 1.1.0 Update Loop
Hey Elliot,
I just experienced the same problem and did some debugging and found that $this->settings[‘version’] is an empty string on line 220 in the function named check_update.
// compare versions
if( version_compare($info->version, $this->settings['version'], '<=') )
{
return $transient;
}
The problem seem to be the if clause at line 70.
if( $pagenow == 'plugins.php' )
Because the user might not be on the plugins.php page the version in the settings array will not be set, and defaults to an empty string on line 36.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.