• Resolved scott.summerhayes

    (@scottsummerhayes)


    I’m getting this message at the top of every admin page as I try to do work. As far as I can see it is not affecting anything on my website, or the icons, everything looks fine… I just don’t know what this means and want it fixed or to just go away.

    Warning: sort() expects parameter 1 to be array, null given in /home/urbanici/public_html/wp-content/plugins/better-font-awesome/better-font-awesome.php on line 183

    Warning: implode(): Invalid arguments passed in /home/urbanici/public_html/wp-content/plugins/better-font-awesome/better-font-awesome.php on line 401

    Thanks.

    Scott

    https://www.ads-software.com/plugins/better-font-awesome/

Viewing 15 replies - 1 through 15 (of 27 total)
  • Thread Starter scott.summerhayes

    (@scottsummerhayes)

    My domain is urbanicity.ca… but I have a Coming Soon plugin activated so you won’t be able to see the actual site.

    Sorry.

    Plugin Author Mickey Kay

    (@mcguive7)

    Thanks for the heads up. It seems like this is a problem that a few people are facing, and I’d like to get to the bottom of it. Can you please answer a few questions for me:

    1. What settings are you using at Settings > Better Font Awesome?
    2. Who is your host?
    3. Are the fonts showing up on the front-end of your site?

    Thanks – I’ll get to the bottom of this!

    Thread Starter scott.summerhayes

    (@scottsummerhayes)

    SETTINGS
    4.1.0
    jsDelivr
    Minified CSS: Yes
    Remove Existing: No

    HOST
    iPage

    FONTS
    Yes

    Scott

    Plugin Author Mickey Kay

    (@mcguive7)

    Thanks Scott,

    So the fonts are working on the front-end. One other question: can you see the fonts in the TinyMCE drop-down in your admin?

    Same thing happening to me. Dropdown appears but the fonts don’t.

    @elguiri: It is considered impolite to interrupt another poster’s ongoing thread unless you are posting a solution or suggestion. As per the Forum Welcome, please post your own topic.

    Plugin Author Mickey Kay

    (@mcguive7)

    One other question to both of you. What version of WP are you running?

    Plugin Author Mickey Kay

    (@mcguive7)

    Just to be clear – Better Font Awesome 0.9.6 (just updated) should fix the problem of missing icon previews. Still curious to hear your details Scott. Additionally, I’d love to know if the errors are showing up intermittently (suggesting a connectivity issue with the Font Awesome server), or all the time (suggesting a plugin/version issue). Any ideas there?

    Thanks!

    I believe I have the same or similar issue. I would have started my own thread, but I thought that perhaps my issue could contribute to a solution here.

    Error messages:

    Warning: Invalid argument supplied for foreach() in /home/blank/public_html/blank-content/plugins/better-font-awesome/better-font-awesome.php on line 222

    Warning: sort() expects parameter 1 to be array, null given in /home/blank/public_html/blank-content/plugins/better-font-awesome/better-font-awesome.php on line 183

    Warning: implode() [function.implode]: Invalid arguments passed in /home/blank/public_html/blank-content/plugins/better-font-awesome/better-font-awesome.php on line 401

    edited my comment, because I had originally used “null” to obfuscate personal details. Updated to blank to avoid confusion with the error text.

    Thread Starter scott.summerhayes

    (@scottsummerhayes)

    Thanks! With the new update the problem has been solved!

    Scott

    Plugin Author Mickey Kay

    (@mcguive7)

    To Scott and Mike,

    I can’t reproduce this problem locally or on our servers, so I could definitely use your help. Just to clean up this thread, can both of please try the following to see if the error message changes or disappears:

    • Switch CDN from jsDelivr to Bootstrap in Settings > Better Font Awesome – do the fonts still appear for you?
    • Try checking/unchecking the options for minified CSS and removing existing versions of Font Awesome – any change?
    • Would either of you be willing to give me access to your site and permission to turn on maintenance mode to do a bit of debugging? We can discuss the when and how of that?
    • Would either of you be willing to install and test a patch I’ve created that I think may address some of the issues you’re seeing? Again, since I can’t reproduce this problem locally I can’t fully test this solution, but I do have ideas on what might be going on. If so, I can send you an installable .zip file.

    Thanks you both for your support in resolving this issue. I want to make sure Better Font Awesome stays better!

    Thread Starter scott.summerhayes

    (@scottsummerhayes)

    Ok…. The problem did start again, a few hours after I activated the plugin again.

    I have changed the CDN to Bootstrap, and unchecked minified CSS and at the moment is seems to be working. Let’s hope it continues to work.

    Sorry, but no, I cannot give you access to my website as we just launched it yesterday and we can’t risk any unnecessary issues right now.

    If I do end up having problems I may come back for that test patch if I can’t find a similar plugin that does work. So far I can’t.

    Thanks.

    Scott

    Plugin Author Mickey Kay

    (@mcguive7)

    Thanks for the update, I really appreciate your assistance on this one. Just to clarify, you’re referring to the errors showing up at the top of the page, correct (another question was introduced on this thread)?

    Also, to get clear, after installing it sounds like the plugin was working for a while before the error appeared – is that the case? I’m really trying to get a sense of whether it’s a constant issue (likely plugin coding) vs. an intermittent issue (likely server problems).

    Thanks Scott! Definitely let me know what you encounter as it comes up.

    Thread Starter scott.summerhayes

    (@scottsummerhayes)

    Yes, the errors that I originally posted about.

    Warning: sort() expects parameter 1 to be array, null given in /home/urbanici/public_html/wp-content/plugins/better-font-awesome/better-font-awesome.php on line 183

    Warning: implode(): Invalid arguments passed in /home/urbanici/public_html/wp-content/plugins/better-font-awesome/better-font-awesome.php on line 401

    When the message first showed up, I deactivated the plugin. Then, when you introduced the update, I updated and activated again.

    It wasn’t right away, but within an hour or two the same error appeared.

    It doesn’t come and go though. When it shows up, it stays until I get so sick of it that I deactivate the plugin.

    Like I said, now that I have changed the settings, it appears to be working fine.

    I’ll let you know if anything changes.

    Scott

    Plugin Author Mickey Kay

    (@mcguive7)

    Got it, thanks Scott. I contacted iPages to see if I could get to the bottom of any issues on the server end. They were helpful, but said that unless you tell them to add me as someone who can contact them via your account, they can’t tell me much more. If you feel comfortable telling them that I have permission to ask some questions about your site, I would love to talk more with them to see what’s up.

    If not, I totally understand. This also sounds super-frustrating and I understand if you just want to move on.

    If you’d like to pursue this, but don’t feel comfortable with me contacting iPages, then there are a few things that would be helpful:

    1. Can you provide me with any logs (error, PHP, etc) from iPages.
    2. When things settle, would you be willing to try a beta patch and see if it works for you?
    3. A list of all plugins you have installed. Wondering if there might be a conflict.

    Thanks!

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Error, showing up at the top of every panel page’ is closed to new replies.