Defender dissappearing data type views on OneUp theme

On http://test.markbarrett.ca if you go to WordPress Admin -> Views -> Add New or Edit there's an option called Data Types, in the drop down you will see multiple data types but when Defender is active the data type called Post disappear from there.

Defender Active

Defender Inactive
[image pos="1"]

Thanks in advance!

  • MarkBarrettCA

    If this helps - I enabled WP Debug and see the following in the log:

    WP Defender ON - Loading home page
    [21-Sep-2017 20:02:26 UTC] PHP Notice: Undefined property: stdClass::$view-post-post in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:02:26 UTC] PHP Notice: Trying to get property of non-object in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:02:26 UTC] PHP Notice: Undefined property: stdClass::$settings- in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 802
    [21-Sep-2017 20:02:26 UTC] PHP Notice: Undefined property: stdClass::$view-post-post in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:02:26 UTC] PHP Notice: Trying to get property of non-object in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:02:26 UTC] PHP Notice: Undefined property: stdClass::$settings- in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 802
    WP Defender OFF

    <No issues loading home page / Nothing new in Debug logs>

    WP Defender ON - Loading home page
    [21-Sep-2017 20:08:42 UTC] PHP Notice: Undefined property: stdClass::$view-post-post in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:42 UTC] PHP Notice: Trying to get property of non-object in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:42 UTC] PHP Notice: Undefined property: stdClass::$settings- in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 802
    [21-Sep-2017 20:08:42 UTC] PHP Notice: Undefined property: stdClass::$view-post-post in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:42 UTC] PHP Notice: Trying to get property of non-object in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:42 UTC] PHP Notice: Undefined property: stdClass::$settings- in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 802
    <refresh screen>
    [21-Sep-2017 20:08:56 UTC] PHP Notice: Undefined property: stdClass::$view-post-post in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:56 UTC] PHP Notice: Trying to get property of non-object in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:56 UTC] PHP Notice: Undefined property: stdClass::$settings- in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 802
    [21-Sep-2017 20:08:56 UTC] PHP Notice: Undefined property: stdClass::$view-post-post in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:56 UTC] PHP Notice: Trying to get property of non-object in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 801
    [21-Sep-2017 20:08:56 UTC] PHP Notice: Undefined property: stdClass::$settings- in /home2/markbarr/public_html/test/wp-content/themes/oneup/framework/php/PeTheme/PeThemeVManager.php on line 802

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.