Title: PHP Fatal error
Last modified: September 17, 2018

---

# PHP Fatal error

 *  Resolved Anonymous User
 * (@anonymized-15307071)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-149/)
 * Hello guys,
 * It seems that the newest version you released introduces some PHP errors with
   on PHP 7.0 / 7.1 / 7.2.
 * **On row 222** in REDACTED/plugins/advanced-access-manager/Application/Core/ConfigPress/
   Evaluator.php, in `function processOperation($operation, $operandA, $operandB)`
   one of the arguments is empty.
 * **On row 237 **
 *     ```
       case '/';
       $operandA /= $operandB;
       break;
       returns 0
       ```
   
 * I am working on a few sites who reported the following issues with AAM.
 * 1- Maximum execution time of 30 seconds exceeded in REDACTED/plugins/advanced-
   access-manager/Application/Core/ConfigPress/Evaluator.php on line 196
 * 2- REDACTED/plugins/advanced-access-manager/Application/Core/ConfigPress/Evaluator.
   php on line 196
 * 3- [17-Sep-2018 06:27:50 UTC] PHP Warning: A non-numeric value encountered in
   
   REDACTED/plugins/advanced-access-manager/Application/Core/ConfigPress/Evaluator.
   php on line 237
 * 4- PHP Warning: Division by zero in REDACTED/plugins/advanced-access-manager/
   Application/Core/ConfigPress/Evaluator.php on line 237
 * Kind regards,
    Franck Adil. K

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * (@vasyltech)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-149/#post-10695479)
 * Hi @junglewp,
 * Please let me know what config did you enter on the ConfigPress tab?
 * Regards,
    Vasyl
 *  Thread Starter Anonymous User
 * (@anonymized-15307071)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-149/#post-10695798)
 * Thanks for the fast reply, I can’t tell what config was used, but I found this
   in a configpress table in wp-options on one of the affected sites:
 *     ```
       [aam]
       [css] 
   
       [/css]
       [/aam]
       ```
   
 * I’ve been told by a user that apparently a wrong css code triggered the issue.
 * It seems that deleting this setting from the database fixed the error message
   for now.
 * But I have no clue on the impact of deleting this setting. I am waiting for the
   site owner to share with me the code they’ve used. I’ll keep this post updated
   so maybe this can save other users from useless sleepless nights.
 * Kind regards,
    Franck Adil. K
 *  Plugin Author [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * (@vasyltech)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-149/#post-10695813)
 * @junglewp,
 * Well Franck. That is not correct INI format. Please read this article [https://aamplugin.com/help/aam-configurations](https://aamplugin.com/help/aam-configurations)
 * This is solve your problems.
 * Regards,
    Vasyl
 *  Thread Starter Anonymous User
 * (@anonymized-15307071)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-149/#post-10696349)
 * [@vasyltech](https://wordpress.org/support/users/vasyltech/)
 * Thank you so much Vasyl for the excellent support and quick replies!
 *  I tried with and without the data in the wp_options table and this is what caused
   the PHP errors. I’ll share the link you gave me as a reference.
 * Here is an additional link that I’ve found: [https://vasyltech.com/config-press](https://vasyltech.com/config-press)
 * A little question, is it possible to prevent users from having PHP errors due
   to bad shortcodes format / content, or is it alrady included but our users did
   something not expected ?
 * Sincerly yours,
    Franck Adil. K
    -  This reply was modified 7 years, 8 months ago by Anonymous User.
    -  This reply was modified 7 years, 8 months ago by Anonymous User.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

## Tags

 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)

 * 4 replies
 * 2 participants
 * Last reply from: Anonymous User
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/php-fatal-error-149/#post-10696349)
 * Status: resolved