Warning after update to version 3.0.4 - Acme Themes

Best Premium and Free WordPress Themes Forums Lawyer Zone Pro Warning after update to version 3.0.4

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102721
    lrTar
    Participant

    Hi 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.
    #102735
    lrTar
    Participant

    The site in question: roullageorgiouDOTcom

    #102776
    lrTar
    Participant

    For 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.
    #102778
    acmesupports
    Moderator

    Dear IrTar,
    Thank you for the information. We are glad that the problem is solved now.

    Best Regards!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.