Support » Plugin: iThemes Security (formerly Better WP Security) » Plugins Dashbaord – Fatal Error: $schema must be protected

  • daviswebstudio


    I’m using iThemes Security Pro version 6.0.2 and PHP version 7.3.27. I’m getting the following error in the Woocommerce Dashboard as well as another plugin’s dashboard.

    Fatal error: Access level to ITSEC_REST_Dashboard_Layout_Controller::$schema must be protected (as in class ITSEC_REST_Dashboard_Controller) or weaker in /wp-content/plugins/ithemes-security-pro/pro/dashboard/rest/class-itsec-rest-dashboard-layout-controller.php on line 0

    If I change $schema in class-itsec-rest-dashboard-layout-controller.php from private to protected, that solves the issue. Disabling iThemes also solved it.

Viewing 1 replies (of 1 total)
  • nlpro


    Updating the iTSec Pro plugin to the latest release (6.8.3 at the time of writing this message) also solves the issue 😉

    Next time, please open a ticket with iThemes by logging in through their Member Panel. This forum only provides community support for the Free iTSec plugin.

    To prevent any confusion, I’m not iThemes.

Viewing 1 replies (of 1 total)
  • The topic ‘Plugins Dashbaord – Fatal Error: $schema must be protected’ is closed to new replies.