WordPress.org

Forums

fatal error occur (2 posts)

  1. dani0512
    Member
    Posted 1 year ago #

    hi, my name is Daniel.

    I'm already have wordpress based website. I want to change my web appearance with propohoto4 (wordpress theme) without changing my live web site, so i use wamp server (offline) on my laptop.

    I manage to install wamp server, wordpress, and prophoto4 locally on my laptop, but when i want to start to make a new design (with one of prophoto starter design) a fatal error notification occured

    Fatal error: Call to undefined function get_current_screen() in C:\wamp\www\faust-photo\wp-includes\functions.php on line 3966

    Call Stack
    # Time Memory Function Location
    1 0.0170 174960 {main}( ) ..\index.php:0
    2 0.0250 217472 require_once( 'C:\wamp\www\faust-photo\wp-admin\admin.php' ) ..\index.php:10
    3 0.0410 228712 require_once( 'C:\wamp\www\faust-photo\wp-load.php' ) ..\admin.php:30
    4 0.0540 236112 require_once( 'C:\wamp\www\faust-photo\wp-config.php' ) ..\wp-load.php:29
    5 0.0620 294272 require_once( 'C:\wamp\www\faust-photo\wp-settings.php' ) ..\wp-config.php:90
    6 1.2801 10509392 do_action( ) ..\wp-settings.php:296
    7 1.2801 10510296 call_user_func_array ( ) ..\plugin.php:406
    8 1.2801 10510312 ppReady::ppLoaded( ) ..\plugin.php:406
    9 1.2801 10511536 ppReady::everywhere( ) ..\ready.php:39
    10 1.3821 10886480 ppReady::interceptRequestCommands( ) ..\ready.php:140
    11 1.4511 11717976 ppIFrame->render( ) ..\ready.php:318
    12 1.4561 11722552 ppIFrame::wp_iframe( ) ..\iFrame.php:144
    13 1.6711 12321128 wp_iframe( ) ..\iFrame.php:301
    14 1.6741 12321968 do_action( ) ..\media.php:400
    15 1.6741 12322976 call_user_func_array ( ) ..\plugin.php:406
    16 1.6741 12322992 wp_auth_check_load( ) ..\plugin.php:406

    What should i do to fix that error? please help, because i have no coding experience

  2. lettergrade
    Member
    Posted 1 year ago #

    Any theme-specific questions should be directed to your theme developer, because ProPhoto 4 is a commercial theme. (This forum can only offer support for free themes from the wordpress.org theme repository.)

    However, it's good to know what your troubleshooting steps should be. Two good ways to start:

    –look at your last few steps. What have you changed recently that might have created the problem?

    –check your functions.php file to see what's on line 3966, and whether there is a coding error, or whether it might suggest a link to a particular function.

    –deactivate all your plugins and see if the problem is still there. If not, reactivate them one at a time to see which one brings the problem back. If you can't access your plugins to deactivate them, you can go to your plugins folder itself and rename it /plugins-hold/ or something like that to break the connection manually.

    See how those things work for you, and check back in if you have more details. But you may get more specific answers on the support area for your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic