• Resolved loreburek

    (@loreburek)


    Hi all, i’m trying to track down a performance issue (Memory and I/O max out) in the wordpress ui when i try to edit a particular page.
    In looking at my error file (at the root of /public_html), I noticed the same 2 errors popping up recently:

    [27-May-2020 00:07:56 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/thgas5fao4qf/public_html/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 381
    [27-May-2020 00:07:56 UTC] PHP Warning:  in_array() expects parameter 2 to be array, null given in /home/thgas5fao4qf/public_html/wp-content/plugins/custom-post-type-ui/inc/utility.php on line 901

    I disabled the plugin. It didn’t fix my editing/performance issue, but I’m hestitant to re-activate this plugin with these warnings happening nearly every minute.

    Any ideas? Core plugin issue, or could it be somewhere else?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Shouldn’t be a major issue to re-activate. They’re just notices. Fatal errors or warnings would be more worrisome.

    What version of the plugin are you running, if not 1.7.4? Just in case it helps, any reason to not upgrade to that latest? The two have been pretty small releases, since I think you may be on 1.7.2.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting PHP Warnings from Plugin’ is closed to new replies.