Support » Theme: Constructzine Lite » Error after upgrading

  • I just recently upgraded WP and I’m seeing these lines of code at the top when I visit Settings->Disable Comments. This happens on both of the Disable Comments plugins from Samir Shah and rbplugins.

    TGM_Bulk_Installer_Skin::before() should be compatible with Bulk_Upgrader_Skin::before($title = ”) in wp-content/themes/constructzine-lite/class-tgm-plugin-activation.php on line 1890

    Warning: Declaration of TGM_Bulk_Installer_Skin::after() should be compatible with Bulk_Upgrader_Skin::after($title = ”) in wp-content/themes/constructzine-lite/class-tgm-plugin-activation.php on line 1890

    Warning: Cannot modify header information – headers already sent by (output started at wp-content/themes/constructzine-lite/class-tgm-plugin-activation.php:1890) in wp-admin/includes/misc.php on line 1114

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there, I tested this and didn’t find any issues, can you make sure the theme is on it’s latest version?

    Thread Starter IndyITguy

    (@indyitguy)

    I apologize for the delay in responding. I’m still seeing those lines of code in those areas. I’m on 1.3.1 and using a child theme of constructzine lite.

    Hi,

    We will provide a fix for this in the next version of the theme.

    Meanwhile, you can try this as you are already using child theme.
    1. Call a file inside functions.php of child theme using following code:
    require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php';
    2. After that copy the file class-tgm-plugin-activation.php from parent theme to child theme.
    3. Open the file and find this code:
    public function before() {
    4. Replace it with this line of code:
    public function before($title = '') {

    Please keep a back up for safety purpose.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error after upgrading’ is closed to new replies.