• Resolved TheAudiEarth

    (@theaudiearth)


    Hello,

    I have used this plugin already on a hosted WordPress site and can only say: Good work.
    But now, I have installed this on a local Windows installation with Apache.

    My problem: This plugin installs just fine without any problems… But the settings page (wp-admin > brave Popups > All Popups) doesn’t load… The page ist just blank, and I don’t know why.

    PHP version: 7.4.7 (newest stable)
    Apache version: 2.4.43 (newest stable)
    Plugin version 0.1.4 (newest, 2 days ago)

    I checked errors by debugging my page and got one almost every time I accessed the plugin’s settings page:

    [03-Jul-2020 07:42:46 UTC] PHP Notice: Trying to access array offset on value of type bool in E:\Webseite\Apache\htdocs\theaudiearth\wp-content\plugins\brave-popup-builder\lib\render.php on line 54

    Perhaps there are some PHP extensions needed to be activated to get this error fixed?
    Currently active: gd2, mbstring, mysqli, openssl

    I already had this constellation of plugin installed back on the hosted server and everything worked perfectly fine. I am sure it’s a problem on my side, since I am new to this PHP hosting thing.
    And no, it’s not the plugins version. I literally tested all versions down to 0.0.4.

    I hope I wrote everything understandable. A German is typing here…

    Thank you for helping.

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

    (@getbrave)

    @theaudiearth If you are using chrome, can you please go to wp-admin > brave Popups > All Popups and right click anywhere and click “Inspect Element” and when the developer panel opens up, click the “Console” tab. See if there is any error in red text. If there, is, kindly copy and paste it here.

    Thanks

    Thread Starter TheAudiEarth

    (@theaudiearth)

    Sure.

    Red errors are:

    Failed to load resource: the server responded with a status of 404 (Not Found)
    [localhost/theaudiearth/wp-json/brave/v1/wpdata?type=all]

    Failed to load resource: the server responded with a status of 404 (Not Found)
    [localhost/theaudiearth/wp-json/brave/v1/popups]

    Uncaught (in promise) Error: Request failed with status code 404
    at e.exports (admin_popups.js?ver=5.4.2:7)
    at e.exports (admin_popups.js?ver=5.4.2:23)
    at XMLHttpRequest.m.onreadystatechange (admin_popups.js?ver=5.4.2:7)
    [localhost/theaudiearth/wp-content/plugins/brave-popup-builder/assets/js/admin_popups.js?ver=5.4.2]

    And orange warnings (in german) are:

    Fehler beim Laden der Quell Zuordnung durch devtools: Der Inhalt für localhost/theaudiearth/wp-content/plugins/brave-popup-builder/assets/css/admin.min.css.map konnte nicht geladen werden: HTTP Fehler: Statuscode 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    Plugin Author Brave

    (@getbrave)

    @theaudiearth Go to Settings > Permalinks and save the settings. If that does not work, make sure the permalink is not set to “Default”.

    Thanks

    Thread Starter TheAudiEarth

    (@theaudiearth)

    I didn’t notice that unsaved Permalinks setting…
    Thank you very much for the help, it works now.

    A plugin review will be written soon… ??

    Plugin Author Brave

    (@getbrave)

    Great! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Blank settings page in wp-admin area’ is closed to new replies.