• Hi there, I’ve recently installed a template, which needed the Envato Plugin. There were some difficulties getting around the templates and the error message below keeps popping out every now and then :

    /home2/sparkles/public_html/wp-content/plugins/envato-wordpress-toolkit-master/index.php on line 866

    I’ve searched around the forum and some say that it is to do with increasing the memory limit, but I wasn’t sure if that’s exactly the case. I did head on over to my cpanel just to have a look at the address that was written from the error above, but the php file only goes up to line 300sth. I’m not really good with css codes so a little bit of help will be highly appreciated!

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • What theme are you using? If it’s a commercial theme, have you asked the developers about this issue?

    What is the name of the template?

    Thread Starter melissalee15

    (@melissalee15)

    I bought the Triangulo Theme from Themeforest http://themeforest.net/item/triangulo-creative-photographers-portfolio/5037709

    I’ve submitted a request but the developers have yet to take a look into my case after a week, so I was searching around to see if it’s a matter with the theme or any other factors.

    WordPress does not support this theme. You will have to contact them to find the answer.

    Thread Starter melissalee15

    (@melissalee15)

    Sorry, I just noticed that I hadn’t paste out the full error description :

    Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home2/sparkles/public_html/wp-content/plugins/envato-wordpress-toolkit-master/index.php on line 866

    and

    sometimes,

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1024 bytes) in /home2/sparkles/public_html/wp-content/themes/triangulo/lib/php/LayoutBuilder/LBHeaderElement.php on line 28

    You could try increasing the memory allocated to PHP – that last error is related to:

    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    But these errors appear to be quite theme or plugin specific – so that’s something about which you’ll have to persist with the developers.

    Thread Starter melissalee15

    (@melissalee15)

    Hi all,

    Thank you for your replies and I did went to the specific posts which you have given me in the comments. I was thinking of just increasing the php in the specific file as written on the error. I found it in my cpanel and was just looking through the file for the part on memory limit.

    I’ve got this in the file :

    /**
    * Force PHP to extend max_execution_time to ensure larger themes can download
    *
    * @author Arman Mirkazemi
    *
    * @access private
    * @since 1.0
    */
    public function _http_request_args( $r ){
    if ( (int) ini_get( ‘max_execution_time’ ) < EWPT_PLUGIN_MAX_EXECUTION_TIME ) {
    set_time_limit( EWPT_PLUGIN_MAX_EXECUTION_TIME );
    }

    $r[‘timeout’] = EWPT_PLUGIN_MAX_EXECUTION_TIME;
    return $r;

    It didn’t have any numbers like 64M or 96M as mentioned in the other forums and I was thinking of adding this line instead to define the maximum memory.

    define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);

    But seeing how this isn’t the main wp-content.php or anything, I was just hoping to ask if you can point me to the right way?

    Thank you so much for your patience.

    Scroll to the top of it the page we linked to – start here:

    codex.wordpress.org/Editing_wp-config.php

    The change needs to be in your wp-config.php file.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Fatal Error’ is closed to new replies.