Doesn’t load in the admin area
-
The plugin seems to just enqueue the script (chose the svg option) on the front end. It doesn’t enqueue in the admin area. Is there a way to do it?
-
Hmmm… I just double-checked and saw that it *is* loading in the admin area in my environment.
One way to verify it (if you’re using the svg/js technology), is to enter this into the JavaScript console:
window.FontAwesomeIf the svg/js is loaded, you’ll see the Font Awesome object displayed there in the console. Otherwise the console will output
undefined.Could you use that to verify that it’s not being loaded in the admin area where you expect it?
yeah it is showing as undefined.
Actually I had already checked it by looking at both the source and the DOM in developer tools earlier.
OK, strange. What admin screen are you on when it’s
undefinedlike that? A particular one, or any one?Also, are you using
rc10?I’m going to try to reproduce it another environment.
I was able to reproduce it in my integration environment. Investigating further…
Yes the latest version rc10.
I am testing it on sandbox, which is a free service.
This is the site.
http://alive-skimmer.w6.poopy.life/
The password is available on the screen.
Oh, goodness. I think I’ve just spotted the problem, tracing through under a debugger. If so, I think I can turn around a fix soon. Continuing to investigate.
(Thanks for the report, by the way.)
Yeah, the fix is working. So it’ll take me some time to get it all wrapped up for another bugfix release, but that’s what I’m working on. It may not be done and released until after the weekend.
The fix is done and merged into our
masterbranch. I’ll plan on releasing it Monday.Great. Working now.
@superpoincare I’ve just now released
4.0.0-rc11. Could you try that and confirm that it resolves this issue?Yes, works. I had tried it last time itself with the github zip but now working with rc11 too.
Great. Thank you!
I am seeing this problem with rc11, but not rc10!
@pennink Well, that’s surprising.
Could you describe:
– how to reproduce your scenario
– what results you expected
– what actual results you’re seeing instead?I can infer, in general, that you’re not seeing something expected on the backend/admin area. But I’ll need more precise information in order troubleshoot.
I tried what you suggested with the console. I also got “undefined”.
With rc10, the interface loads. rc11 fails to load completely in the back end.
Running latest version of WP and PHP 7.3.
The topic ‘Doesn’t load in the admin area’ is closed to new replies.