Hello,
I bought the Enfold Theme yesterday and I installed it, as uploading the ZIP file, as unzipping the file and uploading the folder via FTP. In both cases I received this message. I also tried to reset folder permission, but nothing changed.
Any idea what’s wrong with it? Thank you.
Warning: Missing argument 1 for get_post(), called in /web/htdocs/www.delphiconsulting.it/home/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /web/htdocs/www.delphiconsulting.it/home/wp-includes/post.php on line 371 Warning: Missing argument 1 for get_post(), called in /web/htdocs/www.delphiconsulting.it/home/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 128 and defined in /web/htdocs/www.delphiconsulting.it/home/wp-includes/post.php on line 371 Fatal error: Call to undefined function wp_get_theme() in /web/htdocs/www.delphiconsulting.it/home/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1166
1) Please try to re-upload all wordpress core files. You can download the latest stable version here: http://wordpress.org/latest.zip
2) Try to increase the php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
3) Make sure that the folder permissions of /wp-includes/ and /wp-content/ are set to a reasonable value (eg 0755).
After I updated wordpress it worked. Thank you.