Font-weight issue

What issue or error are you experiencing?

Warning : Attempt to read property “font_family” on null in C:\Users\guito\Local Sites\gac-home\app\public\wp-content\plugins\olbia-plugin\include\helper-functions.php on line 184

Warning : Attempt to read property “font_weight” on null in C:\Users\guito\Local Sites\gac-home\app\public\wp-content\plugins\olbia-plugin\include\helper-functions.php on line 185


What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @guito

It looks like this is an error related to your olbia-plugin. Have you tried debugging that or contacting the Olbia developers or their documentation?

I checked lines 184 and 185 not sure what to do in there.

You might have to find some resources across the web to help out. The error isn’t Local specific but just a general plugin/code error that needs to be debugged. These might help get you started:

This is the content of line 184 and 185. Not sure what the error could be

$font_family = $font->font_family;
$font_weight = $font->font_weight;

As I’m creating a 2nd site, I’m getting this error and I can’t continue

(attachments)

2024-07-25_16-29-44.png

Are you on Windows @guito? When this happens it’s usually due to an extra process getting hung up. So you might have to open up your Windows Task Manager and kill MySQL in order to try again.

Everything works except that the pics don’t show clearly, not sure if it’s Wordpress memory configuration.

(attachments)

Does the issue persist if you check in a different browser?

You could try manually enabling WP_DEBUG to see if you have any PHP errors like memory exhaustion.

If you need to adjust any resources you can use our steps at the bottom of our performance guide here:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.