Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    Some people use old version of WordPress, another people have old version of Php installed. But this plugin is not perfect, so there are times when the entered custom code causes the error and white screen. If this happened with you then do the following.

    Your code stored in the Database of your web-site. For getting your code, you can go to the Database —> Table “wp_options” —> Option “anarcho_cfunctions_settings” —> “option_value”.

    Or you can use the FTP method, for access to plugin’s settings page. Go to plugin’s folder (in wp-content/plugins/). Open “my-custom-functions.php” file. Find this line of code: “anarcho_cfunctions_exec();” and comment it by placing two slashes ( // ) in beginning. Then you can go to plugin’s settings page and edit your entered custom code. After editing, just delete two slashes which you written before.

    Thread Starter private

    (@remery)

    Thanks, yeah I read that in some previous threads. But isn’t there a hotfix for this in the next update (or) is that not feasible for some reason?
    Thanks,

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    I’m trying to come up with the hotfix for this but so far without success.

    I just got this white screen and I have no idea how to fix it. Can you provide some type of tutorial. I am a beginner and do not understand what you are telling us to do. Can you write it out step by step and be as specific as possible.

    what do you mean by comment it?

    I have no idea how to get into the plug in settings?

    this is very stressful, if you do not understand coding.

    also this line that you said we need to find is not showing up anywhere in the file anarcho_cfunctions_exec()

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    Hi Sondra,

    In the file my-custom-functions.php find the line 153 with the following code:

    MCFunctions_exec();

    And replace it with this:

    //MCFunctions_exec();

    After that your website will work. Do needed changes in the code that you added on settings page of my plugin and then restore the line 153 (delete two slashes) in the file my-custom-functions.php.

    Regards,
    Arthur

    now this is showing

    Parse error: syntax error, unexpected ‘$options’ (T_VARIABLE), expecting identifier (T_STRING) or ‘(‘ in /home4/ab55230/public_html/wp-content/plugins/my-custom-functions/my-custom-functions.php on line 135

    whew…ok I got my site back to normal.

    All I was originally trying to do was minimize the excerpt length of my posts, do you by change know how to do this? It used to only show about 30 words which I liked very much, but now it shows a lot more and I canot figure out how to fix it =(

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    I’m glad that the problem is solved ??

    In order to limit an excerpt length try the following code:

    /* Change Excerpt length */
    function mycustom_excerpt_length($length) {
    	return 30;
    }
    add_filter( ‘excerpt_length’, ‘mycustom_excerpt_length’, 999 );

    Regards,
    Arthur

    thank you, where should I add this? In your app?

    I tried it but it did not work =(

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    This code must work. Maybe you have installed a theme that uses not standart method for displaying the excerpts of posts. You need to contact with author of theme that you use.

    Regards,
    Arthur

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Whitescreen – Update yet?’ is closed to new replies.