WordPress doesn’t recognise my email address and I’m missing the wp-config file in PHPmyadmin cPanel to make alterations

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

The ( error_log ) file size is very large

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

WordPress Plugins Error

This could be due to several different reasons. The quickest answer is to ensure your server is running PHP 7.4+ and the cURL extension is enabled. If the problem persists, suggest reading through the support forums to see if you can find information relative to your situation.

Where can I get a full list of wordpress errors in plain text?

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

WordPress Plugin: Demon Image Annotation

The problem is that the plugin is trying to echo data (re-sending the headers) after they have been sent. Here is line 178 of the plugin echo “<div id=\”comment-“.$str.”\”><a href=”#”.$str.””>noted on #”.$imgIDNow.”</a></div>”; I would need more information on which page the plugin was failing on. What the plugin does, what you are trying to do … Read more

How to handle PHP parse errors?

You have to close the PHP context if you use raw HTML output. Instead of … <?php global $EM_Event; <div class=”content_left”> <?php gteventstore_before_loop(); ?> … close PHP before the div: <?php global $EM_Event; ?> <div class=”content_left”> <?php gteventstore_before_loop(); ?> Use an IDE with a PHP parser to see such syntax errors early. You code looks … Read more

WooCommerce Product Search Error

” Invalid argument supplied for foreach()” . means that the $parents variable is not an array so you can’t loop through it. You should wrap the foreach loop in an if check that verifies that $parents is something valid. <?php $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) ); $parents = get_the_terms($term->parent, get_query_var(‘taxonomy’) … Read more

problem with php function error

When $ticket_details[‘assigned_to’]->display_name is not set, get_user_by() has returned not an object but FALSE. First test if you got an object: $user = get_user_by(‘id’, get_post_meta( $post_id, ‘_responsible’, true)); if ( ! is_object( $user ) ) return; $ticket_details[‘assigned_to’] = $user; display_name is always set if there is an user object. At least to an empty string.

WordPress database error Unknown column

There is a SQL query in the theme file /themes/ExtraGrid/content-single.php, and it is asking for a column that doesn’t exist. This seems to be a commercial theme, so we can just guess why that query exists. Maybe you forgot to set a required theme option, or your tables are just incomplete.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)