Misuse of special keyword(controller) from url
-
As a normal MVC implementation, our plugin uses the query parameter to specify the required controllers and actions. Here is an admin url from our plugin:
admin.php?page=nextend-smart-slider2&controller=layouts
It works fine and only works on our admin page.The problem is your plugin doesn’t track if the controller parameter added in the scope of your plugin. Yours always try to load your controller if that query parameter specified.
Here is an error message which comes for our plugin when yours also installed:
Warning: require_once(/home/***/public_html/wp-content/plugins/css-javascript-toolbox/controllers/layouts.php): failed to open stream: No such file or directory in /home/***/public_html/wp-content/plugins/css-javascript-toolbox/framework/mvc/controller.inc.php on line 180
Fatal error: require_once(): Failed opening required ‘/home/***/public_html/wp-content/plugins/css-javascript-toolbox/controllers/layouts.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/***/public_html/wp-content/plugins/css-javascript-toolbox/framework/mvc/controller.inc.php on line 180
Somehow your plugin thinks that he should load the layout controller from your plugin, but it is our controller. Please fix this bug ASAP.
- The topic ‘Misuse of special keyword(controller) from url’ is closed to new replies.