• Resolved preface1728

    (@preface1728)


    Uploading custom_font.ttf with plugin “Custom Fonts” gives the following php warnings:
    Trying to access array offset on value of type bool in /path/to/public_html/wp-includes/script-loader.php on line 3437
    Undefined array key “font-family” in /path/to/public_html/wp-includes/script-loader.php on line 3583
    Undefined array key “font-family” in /path/to/public_html/wp-includes/script-loader.php on line 3601

    They are seen on the WP admin screen

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Herman Asrori (BSF)

    (@bsfherman)

    Hi @preface1728,

    As I am aware of, there’s no users report the same thing. Is there any specific step to replicate this? Also, what PHP version you are using? Just in case it is related.

    I look forward to hearing from you.

    Kind regards,
    Herman ??

    Thread Starter preface1728

    (@preface1728)

    Hello Herman,

    I think the problem is related to php. I have OpenLiteSpeed with lsphp82.

    I have personally found another plugin as a workaround.

    • This reply was modified 1 year, 7 months ago by preface1728.
    Plugin Support Herman Asrori (BSF)

    (@bsfherman)

    Hi @preface1728,

    Thanks for the update. Could you confirm that downgrading PHP to 8.1 or even 8.0 fixes this?

    I look forward to hearing from you.

    Kind regards,
    Herman ??

    Plugin Support Herman Asrori (BSF)

    (@bsfherman)

    Hi,

    It’s been a while since my last message. I am marking this thread as Resolved due to inactivity. Feel free to start a new thread if there is anything else related to this plugin, we can help you with.

    Kind regards,
    Herman ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php warnings undefined array’ is closed to new replies.