New Landing How can we help? Themeforest Theme Support Neighborhood WP Neighborhood totally Crashed after Woocommerce Extra Product Tab plugin

Viewing 6 posts - 1 through 6 (of 6 total)
  • #102481
    compdocbg
    Member
    Post count: 15

    Hello support team,
    Wordpress 3.92 with current Neighborhood 1.81 version has totally crashed after Woocommerce Extra Product Tab plugin installation. I had a full backup to restore it.Then i installed clean WP3.92 and Neighborhood theme on my local network and it happened again, after i clicked install plugin the entire WP crashed ! Also I’ve installed clean WP 3.92 WITHOUT Neighborhood theme (just with the standard build in theme) then I’ve installed Woocommerce Extra Product Tab plugin and it was working just fine. Then I removed Woocommerce Extra Product Tab plugin, installed and activated Neighborhood then installed the woocommerce extra tab and i crashed right after i clicked install plugin. So this issue occurring only with Neighborhood theme.
    Please help

    #102511
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Try adding this line to your wp-config.php file at wordpress root installation directory:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '96M');
    and set debug true.
    define('WP_DEBG', true);
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #103241
    compdocbg
    Member
    Post count: 15

    the issue still persist, see picture.

    Attachments:
    You must be logged in to view attached files.
    #103264
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit functions.php of theme through FTP software.
    Find this code:-

    function excerpt($limit) {
    	      $excerpt = explode(' ', get_the_excerpt(), $limit);
    	      if (count($excerpt)>=$limit) {
    	        array_pop($excerpt);
    	        $excerpt = implode(" ",$excerpt).'...';
    	      } else {
    	        $excerpt = implode(" ",$excerpt).'';
    	      } 
    	      $excerpt = preg_replace('<code>\[[^\]]*\]</code>','',$excerpt);
    	      return '<p>' . $excerpt . '</p>';
       }

    Change to :-

    if(!function_exists('excerpt')){
    function excerpt($limit) {
    	      $excerpt = explode(' ', get_the_excerpt(), $limit);
    	      if (count($excerpt)>=$limit) {
    	        array_pop($excerpt);
    	        $excerpt = implode(" ",$excerpt).'...';
    	      } else {
    	        $excerpt = implode(" ",$excerpt).'';
    	      } 
    	      $excerpt = preg_replace('<code>\[[^\]]*\]</code>','',$excerpt);
    	      return '<p>' . $excerpt . '</p>';
       }
    }

    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #103483
    compdocbg
    Member
    Post count: 15

    Perfect ! this code fix the problem.works ! Thank you

    #103484
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register