1.1 Requirements

OnAir2 theme requires the following:

  • WordPress 4.8 or higher
  • MySql 5.6 or higher
  • PHP 7.0 or higher

The theme also requires the following PHP libraries for an optimal performance:

  • CURL enabled
  • .htaccess
  • ModRewrite ON
  • upload_max_filesize: 128M (to support upload of Podcasts in mp3)
  • memory_limit: 128M
  • post_max_size: 128M (to support upload of Podcasts in mp3)
  • max_execution_time: 240 seconds

How to verify your server limits: please use this plugin https://wordpress.org/plugins/wordpress-php-info/.

If you are not sure about these parameters, you can ask your hosting provider.
For our themes and to guarantee an optimal performance for your website, we recommend to host your site at ValorHosting, which is by our experience the best WordPress Hosting Provider:

http://valorhosting.eu/

If you see an error “Are you sure you want to do this”

or other memory or upload limit errors during the upload, please use one of these solutions (any server is different so one of these methods may work better than the others depending on the server settings)

1. add this in the .htaccess file of your server
php_value memory_limit 256M
php_value post_max_size 256M
php_value upload_max_filesize 256M
php_value max_execution_time 1800

2. add thiss to wp-config.php
define(‘WP_MEMORY_LIMIT’, ’256M’);

3. create a text file, call it php.ini and put this text in it:
upload_max_filesize = 256M
post_max_size = 256M

then upload it in the wordpress root folder