• Resolved Corey Kretsinger

    (@corey-kretsinger)


    Got this from a client today. There was more, but that got cut off.

    An error of type E_ERROR was caused in line 12628 of the file /home/accountname/public_html/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-freemius.php. Error message: Uncaught Error: Call to undefined function get_blog_list() in /home/accountname/public_html/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-freemius.php:12628
    Stack trace:
    #0 /home/accountname/public_html/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-freemius.php(12697): Freemius::get_sites()
    #1 /home/accountname/public_html/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-freemius.php(17035): Freemius->get_blog_install_map()
    #2 /home/accountname/public_html/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-fs-plugin-updater.php(122): Freemius->has_any_active_valid_license()
    #3 /home/accountname/public_html/wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/class-fs-plugin-updater.php(72): FS_Plugin_Updater->filters()

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author 5 Star Plugins

    (@5starplugins)

    Hi Corey,

    I appreciate you alerting us. this is a fatal error in the Freemius SDK @freemius, so I can reach out to them and see what the cause could be regarding get_blog_list() – but from doing some researching now, it seems like it could be related to an older version of WordPress and the use of Multisite, here’s their response to this exact error 5 months ago:

    “We did some digging, and the only case in which the SDK calls that function is when the get_sites() and wp_get_sites() core methods are not defined. But, get_sites() is supported from WP 4.6 and higher, so it should be available on your version 4.9.9. I also looked at the execution logic and the function is included in ms-blogs.php which is required in wp-settings.php before the inclusion of any plugins.

    So frankly, I don’t understand how this situation is even possible unless there’s something custom that changes the expected result of is_multisite() when wp-settings.php is executed.

    Do you have any MU plugins installed? or anything special in the environment?”

    I assume they are using a version of WordPress newer than v4.6, and are running Multisite, which uses get_blog_list, can you confirm?

    I am experiencing the same issue. WordPress 5.2 actually e-mailed us the problem. See snippet below. Sensitive or private data has been redacted. We’re running WP 5.2 with PHP 7.2, upgrading to 7.3 soon. Not an MU site but may have MU plugins. We’re hosted at WP Engine.

    Howdy!
    
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with one of your plugins, GF Square  (Premium).
    
    First, visit your website (https://mydomain.org/) and check for any visible issues. Next, visit the page where the error was caught (https://mydomain.org/wp-admin/network/setup.php) and check for any visible issues.
    
    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
    
    https://mydomain.org/wp-login.php?action=enter_recovery_mode&rm_token=sometoken&rm_key=somekey
    
    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 12628 of the file /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-freemius.php. Error message: Uncaught Error: Call to undefined function get_blog_list() in /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-freemius.php:12628
    Stack trace:
    #0 /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-freemius.php(12697): Freemius::get_sites()
    #1 /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-freemius.php(17035): Freemius->get_blog_install_map()
    #2 /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-fs-plugin-updater.php(122): Freemius->has_any_active_valid_license()
    #3 /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-fs-plugin-updater.php(72): FS_Plugin_Updater->filters()
    #4 /wp-content/plugins/gf-square-premium/lib/freemius/includes/class-fs-plugin-updater.php(59): FS_Plugin_Updater->__construct(Object(Freemius))
    #5 /wp-content/plugins/gf-square-premium/lib/f

    Also seeing a very similar message from WP. It’s showed up for a few days in a row. We are running php 7.1.22 and WP 5.2.2. No changes had been made around the plugin on or end in a very long time.

    Error Details
    =============
    An error of type E_ERROR was caused in line 12628 of the file
    /wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/includes/class-freemius.php. Error message: Uncaught Error: Call to undefined function get_blog_list() in /wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/includes/class-freemius.php:12628
    Stack trace:
    #0 /wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/includes/class-freemius.php(12697): Freemius::get_sites()
    #1 /wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/includes/class-freemius.php(17035): Freemius->get_blog_install_map()
    #2 /wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/includes/class-fs-plugin-updater.php(122): Freemius->has_any_active_valid_license()
    #3 /wp-content/plugins/featured-images-for-rss-feeds-premium/includes/freemius/includes/class-fs-plugin-updater.php(72): FS_Plugin_Updater->filters()
    #4 /wp-content/plug

    I have the same issue, not running multisite. This has been marked as resolved, but I don’t see a solution.

    Thanks!
    Jenny

    Plugin Author 5 Star Plugins

    (@5starplugins)

    Hi all,

    I’ve found out you can ignore the Fatal Error email, it is generated by WordPress only on that page /network/setup.php that no one visits on non-multisite sites – it’s a false alarm. The logic in the SDK that gets tripped on that page never happens on any public or admin page.

    The latest Freemius SDK resolves the error, and we’ll be updating the SDK shortly, but in the mean time you can ignore that particular Freemius fatal error regarding /network/setup.php

    We’re not sure how or why WordPress is accessing that particular page, and it’s not something that is a security issue on non-multisite sites.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Freemius Errors’ is closed to new replies.