Support » Plugin: Risk List » 3 PHP bugs that need some fixing

  • Jorge Rodriguez

    (@catupiryisjustcreamcheese)


    I just downloaded this plugin. I love the idea to be able to use it for risk assessments of our site. Beautiful implementation! Great design. And fantastic idea. I say this because I believe it is. So, please don’t take me wrong when I say I found a few bugs.

    When trying to pull the “Screen Options” tab in the admin panel, if this plugin is installed it won’t pull anything clicking on it. Also, running Query Monitor to see if there was any error, it found three. See screenshot please. Maybe it is related to that issue I commented on first here:

    https://ibb.co/h1vQaT

    By the way, in order to know if any of these errors was caused by my wordpress installation or any other plugins, I also tried it running on a newly installed wordpress installation with just this plugin and query monitor alone.
    Cheers

    • This topic was modified 2 years, 4 months ago by Jorge Rodriguez. Reason: additional notes
Viewing 2 replies - 1 through 2 (of 2 total)
  • Jorge Rodriguez

    (@catupiryisjustcreamcheese)

    One more thing. I found that the #risks metabox was a bit small to be used comfortably, so I made it bigger and gave the options a bit more room with this CSS properties:

    <style>

    div#risklist_objectivedetails.postbox div.inside select#risks {
    min-height: 500px !important;
    }

    div#risklist_objectivedetails.postbox div.inside select#risks option {
    padding: 5px 5px 7px 5px;
    border-bottom: 1px solid #d5d5d5 !important;
    }

    </style>

    Jorge Rodriguez

    (@catupiryisjustcreamcheese)

    The errors I found in the first comment, might be related to undeclared variables $red, $green and $yellow, but I haven’t really managed to fix them by just declaring them.

    Searching on the internet I saw that the errors appear probably because these variables are expected to be arrays.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘3 PHP bugs that need some fixing’ is closed to new replies.