Back to Troubleshooting Guides

This guide applies to:

  • Basic
  • Professional

Introduction

Sometimes you may find that you are unable to add more hotspots to your interactive image. This is usually due to your hosting company’s server settings, which can limit the number of hotspots that work properly with Draw Attention – and this should definitely not be happening.

You will notice this becoming a problem if your interactive image displays correctly up until you add X amount of hotspots. After a certain amount, the hotspots may disappear, or show up completely in the wrong spot.

This can be addressed in several ways:

  • Contacting your hosting company
  • Changing the max_input_vars
  • Changing settings for Suhosin

We would also recommend running Plugin Detective to ensure that there aren’t any possible conflicts taking place with other plugins.


Contact Your Hosting Company

PHP has a setting for max_input_vars which is sometimes set to a certain number on your site’s server. This controls how much data your PHP configuration will read when a page is submitted, and anything beyond is cut off. We are looking into a long-term solution for this particular issue, but for now the quickest solution is to contact your hosting company and ask the following:

“Can you please increase the PHP max_input_vars to 5000 for my installation? I have an application that is failing because the limit is set too low. If not 5,000, please set it as high as possible.”

Once you’ve sent that out, they should be able to accommodate this request.

Double-Checking Increase in max_input_vars

To confirm that the max_input_vars has been adjusted, you can head on over to your WordPress Admin dashboard, and scroll to your Tools > Site Health.

Within the Site Health, click the Info tab and scroll on down to where it says Server. Within this category, you should be able to locate the PHP max input variables and confirm if it has been adjusted.

After confirming that it has been adjusted, try adding more hotspots in your interactive image.


Changing the max_input_vars

If you have access to php.ini and are still unable to add more hotspots, please add the following to the file:

max_input_vars = 5000  (try 3,000 if this doesn’t work)


Changing Settings for Suhosin

If the above doesn’t work, it’s possible that a server program called Suhosin is causing the problem. You can ask your host to change this also, or you can add the following settings to your php.ini:

suhosin.post.max_vars = 5000

suhosin.request.max_vars = 5000



Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.


Related Guides