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 »

Undefined index: comment_karma


  #1  
Old Aug 12, 2020, 03:57 AM
Merlin1764's Avatar
Merlin1764
 
6 posts · Jul 2016
Wuppertal, Germany
I get the following message in the errorlog:
Quote:
PHP Notice: Undefined index: comment_karma in /www/htdocs/w00e5422/__pool/wp-content/themes/atahualpa/comments.php on line 101
Line 101 is the "agreed"-Line:
PHP Code:
$fields =  array(
    
'author' => '<p><input style="border: 1px solid #666666;" class="text author" id="author" name="author" type="text" value="' esc_attr$commenter['comment_author'] ) . '" size="30" required' $aria_req ' tabindex="1" />' .
                
'&nbsp;&nbsp;<label for="author">' __'Name ' ,'atahualpa') . ' ' . ( $req __('<span class=notwendig>&nbsp;Eingabe erforderlich&nbsp;</span>','atahualpa') : '' ) . '</label></p>',
    
'email'  => '<p><input style="border: 1px solid #666666;" class="text email" id="email" name="email" type="text" value="' esc_attr(  $commenter['comment_author_email'] ) . '" size="30" required' $aria_req '  tabindex="2" />' .
                
'&nbsp;&nbsp;<label for="email">' __'Email' ,'atahualpa') . ' ' . ( $req __('(wird nicht ver&ouml;ffentlicht) <span class=notwendig>&nbsp;Eingabe erforderlich&nbsp;</span>','atahualpa') : '' ) . '</label></p>',
    
'url'    => '<p><input style="border: 1px solid #666666;" class="text url" id="url" name="url" type="text" value="' esc_attr$commenter['comment_author_url'] ) . '" size="30"  tabindex="3" />' .
                
'&nbsp;&nbsp;<label for="url">' __'Webseite','atahualpa' ) . '</label></p>',
    
'agreed' => '<br/><img src="https://www.blogpool.de/gfx/information.png" width=64 align=left style="margin-right: 5px;"><br>Dieses Formular speichert Name, E-Mail und Inhalt, damit wir den &Uuml;berblick &uuml;ber auf dieser Webseite ver&ouml;ffentlichte Kommentare behalten.<br/>Wir handeln damit auf Grundlage berechtigter Interessen gem&auml;&szlig; Art. 6 Abs.1 lit f DSGVO.<br/>F&uuml;r detaillierte Informationen, wo, wie und warum wir deine Daten speichern, wirf bitte einen Blick in unsere <a href="https://www.blogpool.de/datenschutz/datenschutz/" target="_blank">Datenschutzerkl&auml;rung</a>.<br/><br/><p><input style="border: 1px solid #666666;" class="" id="agreed" name="agreed" type="checkbox" value="" required' esc_attr$commenter['comment_karma'] ) . $aria_req ' tabindex="4" />' .
                
'&nbsp;<label for="agreed">' __'Mit dem Absenden des Kommentars stimme ich dem zu und erkl&auml;re mich damit einverstanden' ,'atahualpa') . ' ' . ( $req __('<span class=notwendig>&nbsp;Zustimmung erforderlich&nbsp;</span>','atahualpa') : '' ) . '</label></p>',
); 
Can anybody help me, please?!
Has it something to do with Wp Update to 5.5?

You can reach the blog under https://www.blogpool.de ;-)
  #2  
Old Aug 15, 2020, 04:55 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
agreed is not part of the Atahualpa base code. It must have been added in at sometime by you or your web developer or by a plugin.

The original $fields is:
Code:
$fields =  array(
	'author' => '<p><input class="text author" id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' tabindex="1" />' . 
				'&nbsp;&nbsp;<label for="author"><strong>' . __( 'Name ' ,'atahualpa') . '</strong> ' . ( $req ? __('(required)','atahualpa') : '' ) . '</label></p>',
	'email'  => '<p><input class="text email" id="email" name="email" type="text" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . '  tabindex="2" />' . 
				'&nbsp;&nbsp;<label for="email"><strong>' . __( 'Email' ,'atahualpa') . '</strong> ' . ( $req ? __('(will not be published) (required)','atahualpa') : '' ) . '</label></p>',
	'url'    => '<p><input class="text url" id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30"  tabindex="3" />' . 
				'&nbsp;&nbsp;<label for="url">' . __( 'Website','atahualpa' ) . '</label></p>'
);
as you can see there is no agreed portion

I whould suggest revewing all your plugins to see if one of them told you to put it n or did it by themself
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
PATCH 3722-03: Fix an 'Undefined index: bfa_ata_noncename’ warning message juggledad Old Version fixes and change logs 0 Feb 9, 2015 04:48 AM
Error: 'Undefined index: full_width_footer' kazerniel Header configuration & styling 5 Sep 20, 2014 06:10 AM
PHP Notice: Undefined index: bfa_ata_noncename codered Center area post/pages 1 Feb 12, 2013 01:26 PM


All times are GMT -6. The time now is 05:49 AM.


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