Support » Plugin: Happy Addons for Elementor » Parse error after todays update

  • Resolved apinis


    I had to disable the plugin after todays update: Parse error: syntax error, unexpected ‘)’ in /home3/darevalm/public_html/wp-content/plugins/happy-elementor-addons/widgets/pdf-view/widget.php on line 679

Viewing 10 replies - 1 through 10 (of 10 total)
  • We have exactly the same error.

    Hello there,

    We got this report from a few users, but unfortunately, we couldn’t reproduce it yet on our local/testing site.

    Rest assured, the message has been passed to the concerned team for deep investigation and hoping this will be taken care of soon.

    Kindly bear with us with some patients!

    Same error.

    Was able to re-activate the plugin by making a hotfix to classes/widgets-manager.php to disable the PDF viewer module. Comment out lines 984-995.

    // 'pdf-view' => [
    // 	'cat' => 'creative',
    // 	'is_active' => true,
    // 	'title' => __('PDF View', 'happy-elementor-addons'),
    // 	'icon' => 'hm hm-lens',
    // 	'css' => ['pdf'],
    // 	'js' => [],
    // 	'vendor' => [
    // 		'css' => [],
    // 		'js' => ['pdf-js'],
    // 	],
    // ],

    Hopefully the next plugin update fixes this.


    @weaselnerd @michaelwimpey @apinis Just reinstall the plugin from the WordPress dashboard. It will be fixed.

    Removing the plugin and reinstalling it from scratch from the plugin directory did seem to do the trick on my site. Thanks.

    Hi, I also got the same error:
    An error of type E_PARSE was caused in line 679 of the file
    Error message: syntax error, unexpected ‘)’

    Here’s the corresponding code:

    675	<?php	
    676	if($settings['pdf_title']){	
    677		echo sprintf( '<h2 class="ha-pdf-title">%s</h2>',
    678		esc_html( $settings['pdf_title'] ),
    679		);
    680	}	
    681     ?>

    Please let me know what you recommend to remedy, or if there will be an update.
    Thank you!

    PS: This error causes the whole site to crash. We had to deactivate the plugin which now changes the look of the site

    @ramyos Did you try removing the plugin and reinstalling as @sabbirshouvo mentioned? Strangely that was enough to remove the error on my site.

    Hey everyone,

    Kindly install our latest patched version (V3.3.2) to resolve this unintended issue.

    P.S: I’m making this topic resolved.
    Thanks & sorry for the trouble once again!

    Thank you @aurangajeb @weaselnerd
    The new version 3.3.2 didnt fix the issue.
    I had to uninstall and then reinstall as recommended by @sabbirshouvo
    After reinstalling had to recover the settings but all seems good now. Thank you all

    • This reply was modified 1 year, 1 month ago by ramyos.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Parse error after todays update’ is closed to new replies.