Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

PATCH 3722-03: Fix an 'Undefined index: bfa_ata_noncename’ warning message

Old Feb 9, 2015, 05:48 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you find this patch useful, consider donating. I spent my time digging into the issue and coming up with a fix. Without donations, there is not much incentive for me to try and fix anything that doesn't effect the sites I work on is there?

A PHP Notice (a warning message) may show up using various plugins with Atahualpa, if you have
HTML Code:
define('WP_DEBUG', true);
in your wp-config.php file. The message will look like this:
HTML Code:
[09-Feb-2015 10:50:41 UTC] PHP Notice:  Undefined index: bfa_ata_noncename in /...some list of folders.../wp-content/themes/atahualpa/functions.php on line 652
This patch will prevent the message from appearing.

To fix this issue edit 'function.php' and change line 652 from
HTML Code:
  if ( !wp_verify_nonce( $_POST['bfa_ata_noncename'], plugin_basename(__FILE__) )) {
HTML Code:
if (isset($_POST['bfa_ata_noncename']))    

	if ( !wp_verify_nonce( $_POST['bfa_ata_noncename'], plugin_basename(__FILE__) )) {
and change line 682 from
HTML Code:
if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
HTML Code:

if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
or you can replace the existing functions.php' with this version (remember to unzip it first)
Attached Files
File Type: zip functions.php.zip (9.3 KB, 1654 views)
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 9, 2015 at 05:52 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 3722-02: Fix Atahualpa's SEO options META information juggledad Old Version fixes and change logs 0 Jan 30, 2015 05:42 AM
PATCH 3722-01: patch to fix RSS feeds juggledad Old Version fixes and change logs 0 Jan 21, 2015 12:21 PM
Error: 'Undefined index: full_width_footer' kazerniel Header configuration & styling 5 Sep 20, 2014 07:10 AM
Patch 119-01: Notice: Undefined offset: 0 in wp-includes/capabilities.php line 1106 juggledad New Versions & Updates 0 Dec 15, 2013 05:30 PM
PHP Notice: Undefined index: bfa_ata_noncename codered Center area post/pages 1 Feb 12, 2013 02:26 PM

All times are GMT -6. The time now is 11:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.