Common Cases due to PHP Limitations| Saving changes, intervals and conditions

Though the Developers of the Ays Pro company do their best to provide an absolute working plugin, some small glitches may arise for the users conditioned by different factors. In this article, we will discuss the most common cases that quiz users encounter related to PHP Limitations.

Saving changes in the plugin #

If you are having problems when creating a new quiz/survey/poll, etc., making changes in the plugin (you click on the Save button and the changes you have made are not applied), or saving the results, then, most probably, there are PHP restrictions for your website.

In that case, please do the following to fix the problem.

Please get in touch with your Hosting Provider and ask them to expand the following PHP values or do it on your own via the cPanel

max_input_vars 20000
max_execution_time 600
max_input_time 600

Then, check whether the values have been increased or not from the Site Health Info and check the case again that way.

Saving Conditions #

The Conditional Results feature of the WordPress Quiz Plugin works via the Conditional Results addon.

If you are experiencing problems when creating/saving the conditions, then, most presumably, there are Database restrictions for your website. Please follow these steps for troubleshooting and fixing the problem.

  • Firstly, we recommend making a DB backup (you can use UpdraftPlus) so that you can restore the data if needed.
  • Then, head to the cPanel phpMyAdmin particular Database and find this table there:
    wp_aysquiz_quizes
  • Then, go to Structure > Conditions and click on the Change button.
    Please note that the WordPress_prefix can be different. In our case, it is wp_.
Quiz Plugin Conditions

Changing Quiz Conditions
  • With the last step, change the TEXT to the LONGTEXT, and click on the Save button.
Quiz Conditional Logic

Once you have made all these steps, try to create a new condition and check the case again.

Saving Intervals #

If you are creating a personality test and adding a great number of intervals, then, you must know abut the Database restrictions. The plugin doesn’t have any limitations on adding conditions and intervals. However, there may be some restrictions set from your Database.

In case you can’t save the newly added intervals, please follow these steps to troubleshoot and fix the issue.

  • Make a DB Backup before making any changes so that you can restore the data in the future if needed (you can use Updraft Plus).
  • Then, head to the cPanel > phpMyAdmin > Current WordPress Database.
    Find the following table there:
    {WordPress_prefix}_aysquiz_quizes

The WordPress_prefix can be subject to change, by default it is written by wp_.

  • Then, go to Structure. Go to the Intervals and click on the Change button. 
Quiz Intervals

Customizing Quiz Intervals

  • Then change the TEXT to the LONGTEXT and click on the Save button.
Quiz Intervals Settings

If you perform these steps and still the problems don’t get resolved for you, you are welcome to contact our Support Specialists via our Contact Form. They are always ready to help you.

Powered by BetterDocs

Leave a Reply

Your email address will not be published.

Don՛t Miss Out...

FoxLMS Plugin Now Available!

Easily create, manage, and sell courses on WordPress with the new FoxLMS plugin.

Get 30% Extra Discount

Get 30% OFF Now!

This will close in 0 seconds