undefined index [closed]
This seems to have solved the issue.. Checking to see that it is set. if ( !isset( $_POST[‘eventmeta_noncename’] ) || !wp_verify_nonce( $_POST[‘eventmeta_noncename’], plugin_basename(__FILE__) )) { return $post->ID; }
This seems to have solved the issue.. Checking to see that it is set. if ( !isset( $_POST[‘eventmeta_noncename’] ) || !wp_verify_nonce( $_POST[‘eventmeta_noncename’], plugin_basename(__FILE__) )) { return $post->ID; }
Put the $gldb connection right after $wpdb, like this: $wpdb = new wpdb( ‘gls_wp874’, ‘8nS83Pu4cy’, ‘gls_wp874’, ‘localhost’ ); $gldb = new wpdb( ‘gl_wpdb12’, ‘n7dmSl8h4P’, ‘gl_wpdb12’, ‘localhost’ ); You can’t use connection that has not been made…
I would suggest taking a back up of your site, and then replacing the WordPress core files. Download a fresh copy from word press.org and replace the files in the WP–admin folder and WP–includes folder. You can also replace any files in the immediate public_HTML folder excluding WP–config.php. This might resolve the issue. Additionally, I … Read more
From your screenshot, it looks like you are displaying images from another website (nga.gov), for example: http://images.nga.gov/?service=asset&action=show_preview&asset=120079 After checking out the links with the mixed content warning, I can see that SSL is set up for this website, which is good. However, their links still default to HTTP, for whatever reason. To fix this on … Read more
Settings > Reading > Search Engine Visibility – make sure the option “Discourage search engines from indexing this site” is unchecked. You’ll need to wait for Google to update its index.
You have been hacked. This is probably on more than one file too, so just deleting that line from this file isn’t going to solve the problem. Best thing you can do is restore from a back up, then change all your passwords. if you don’t have a back up or your backup is also … Read more
Google authentication sounds like the least of your worries. wp-config.php lives in the public_html folder of your website, not in SQL database. Assuming everything else is configured correctly, then you will simply need to put your SQL info into wp-config.php and then go to your main website url via the browser If … Read more
Turn off the debug error loggins with this command in the wp-config.php file: define( ‘WP_DEBUG’, false ); The errors you are seeing are ‘warning’ (I think of them as ‘benign’) and have to do with coding practices not allowing for empty ‘loop’ variables. You only want the WP_DEBUG to be true on development systems. If … Read more
Enable debug logging in wp-config.php: define( ‘WP_DEBUG’, true ); // Enable debugging // Default logging path is wp-content/debug.log define( ‘WP_DEBUG_LOG’, true /* or custom path e.g. ‘/path/to/debug.log’ */ ); define( ‘WP_DEBUG_DISPLAY’, true /* or false if you want to just log the errors */ ); That will capture and store all errors (either from core … Read more
It’s not a very good practice to echo html code. Also you have errors with quotes. Correct way to do this would be: <a href=”https://wordpress.stackexchange.com/questions/106828/mailto:type%20email%20address%20here?subject=I%20wanted%20to%20share%20this%20post%20with%20you%20from%20<?php echo rawurlencode(get_bloginfo(“name’)); ?>&body=<?php echo rawurlencode(get_the_title()); ?>%20%20%3A%20%20<?php echo rawurlencode(get_the_excerpt()); ?>%20%20%2D%20%20%28%20<?php echo rawurlencode(get_permalink()); ?>%20%29″ title=”Email to a friend/colleague” target=”_blank”>Share via Email</a>