Best Premium and Free WordPress Themes › Forums › Lawyer Zone Pro › Warning after update to version 3.0.4
- This topic has 3 replies, 2 voices, and was last updated 1 year, 3 months ago by
acmesupports.
-
AuthorPosts
-
June 16, 2022 at 9:14 pm #102721
lrTar
ParticipantHi there,
I wonder if you can help us with this:I’m seeing this error ever since I updated WP Lawyer Zone Pro to version 3.0.4.
Warning: Creating default object from empty value in /home/customer/www/xxxxxx.com/public_html/wp-content/themes/lawyer-zone-pro/acmethemes/updater/theme-updater-class.php
/**
* Update the theme update transient with the response from the version check
*
* @param array $value The default update values.
* @return array|boolean If an update is available, returns the update parameters, if no update is needed returns false, if
* the request fails returns false.
*/
public function theme_update_transient( $value ) {
$update_data = $this->check_for_update();
if ( $update_data ) {// Make sure the theme property is set. See issue 1463 on Github in the Software Licensing Repo.
$update_data[‘theme’] = $this->theme_slug;if ( version_compare( $this->version, $update_data[‘new_version’], ‘<‘ ) ) {
$value->response[ $this->theme_slug ] = $update_data;
} else {
$value->no_update[ $this->theme_slug ] = $update_data;
}
}return $value;
}/**
* Remove the update data for the theme
*Thank you.
-
This topic was modified 1 year, 3 months ago by
lrTar.
June 17, 2022 at 2:29 pm #102735lrTar
ParticipantThe site in question: roullageorgiouDOTcom
June 21, 2022 at 12:04 pm #102776lrTar
ParticipantFor the benefit of other users, here’s what I found out.
There’s absolutely no glitches in Version 3.0.4.
The problem here was caused by Total Upkeep plugin.
Total Upkeep alters the auto-update system, and that is detected by WordPress Site Health as a possible problem, but according to @jesseo at BoldGrid, this is is actually by design.
Read more: https://www.boldgrid.com/support/question/your-site-may-have-problems-auto-updating-plugins-and-themes/I would suggest that Boldgrid add a note to their warnings so that other users do not have to look elsewhere for answers. Great plugin though.
-
This reply was modified 1 year, 3 months ago by
lrTar.
June 22, 2022 at 5:09 am #102778acmesupports
ModeratorDear IrTar,
Thank you for the information. We are glad that the problem is solved now.Best Regards!
-
This topic was modified 1 year, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.