This topic has 1 reply, 1 voice, and was last updated 10 years by esahc.

  • Author
  • #21780
     esahc
    Participant

    Similar to the question asked in this post:
    https://archived.seventhqueen.com/forums/topic/theme-options-gives-blank-page

    Whenever I click on theme options, it gives a blank page.

    With debugging enabled, I get this error:

    Notice: Use of undefined constant FS_CHMOD_DIR – assumed ‘FS_CHMOD_DIR’ in /var/www/html/wp-content/themes/kleo/kleo-framework/options/inc/fields/typography/field_typography.php on line 65

    Fatal error: Call to undefined function curl_init() in /var/www/html/wp-content/themes/kleo/kleo-framework/options/inc/class.redux_helpers.php on line 21

    I saw in another post that you will fix the notice in a following update and it’s not that important.

    However, the fatal error mentions cURL, so I am assuming I have to install this and update the child themes functions.php, just like in the post I linked to? I am just curious, is this a specific requirement to KLEO, or something specific to my server? Should I have installed this already when setting up my server? How come I need this? Of all the tutorials I have read about setting up wordpress, none mention cURL.

    Anyways, your theme is awesome.

    #21781
     esahc
    Participant

    I discovered upon further research, I found out I needed to install the PHP version of cURL with this command:

    sudo apt-get install php5-curl

    I am assuming this is because i’m using PHP-FPM on nginx?

    My theme options page is working now and I did not have to do anything but run that command.

    Although I figured it out, thanks anyways for this quick and easy way to ask for support.

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

The topic ‘Another theme option blank page question’ is closed to new replies.

Log in with your credentials

Forgot your details?