• Resolved CoolDavidoff

    (@cooldavidoff)


    Sorry Jacob, I have to report another fatal error:
    The wppa update I ran today causes white screen of death to everything wp-admin.
    Gladly the front end was not affected 🙂

    We cannot follow the google-everywhere procedure to “deactivate ALL plugins” as it is a secured membership site.
    So I had to go through each plugin individually via renaming it in ftp.
    While doing that I got a better idea: turned on wp-debug log (gets saved in wp-content and NOT displayed on screen when people use this in their config:

    define( ‘WP_DEBUG’, true ); // Or false
    if ( WP_DEBUG ) {
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );
    @ini_set( ‘display_errors’, 0 );
    }

    (you ONLY need to change the standard “false” to “true” during debugging 🙂

    Back to wppa: So the debug log shows PLENTY of these:

    PHP Fatal error: Uncaught Error: Call to undefined function exif_tagname() in /…/public_html/wp-content/plugins/wp-photo-album-plus/wppa-exif-iptc-common.php:4251

    Could you please correct this before rolling out the next update Jacob?

    For the meantime I overwrote the entire wppa folder with the prior version. And promptly the site is back at work 🙂

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    exif_tagname is a standard php function for php version >= 4.2.0

    What is your php version?

    Thread Starter CoolDavidoff

    (@cooldavidoff)

    Well, if you read it, it says “Call to UNDEFINED function exif_tagname()”

    I looked in that file for you, and you use that function also in these rows:
    3015, 3258, 3329, 3405, 3416

    and nowwhere I see it being used on the left (is that how a function gets “defined”?)

    Whatever, you are the expert.
    Here’s server information:

    Server Name vps
    cPanel Version 68.0 (build 29)
    Apache Version 2.4.29
    PHP Version 7.0.27
    MySQL Version 10.1.31-MariaDB
    Architecture x86_64
    Operating System linux

    Or… Jacob, could it possibly be that your use of that function requires a javascript?
    Because in that case, maybe it doesn’t work because w3tc rearranges all those for us, for faster load. Just a tip.

    I had the same issue with the last 2 update of the extension
    … public_html/wp/wp-content/plugins/wp-photo-album-plus/wppa-exif-iptc-common.php on line 4251
    I put // in front of the line 4251 to comment it.
    Now the extension works fine and I can go back in admin page.

    http://www.asl-inc.org

    cpsrvd 11.68.0.29
    Version du client de base de données : libmysql – 5.1.73
    Extension PHP : mysqliDocumentation curlDocumentation mbstringDocumentation
    Version de PHP : 5.6.30

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The function exif_tagname() is a built-in function of php 4.2 and higher.
    Like time() etc. and should work.

    Ask your hosting provider why this function is not present, it could be in incomplete version of php.

    Do not confuse exif_tagname() with wppa_exif_tagname(), that is my wrapper around exif_tagname().

    I use exif_tagname() only on line 4251 and 3329
    where it reads function wppa_exif_tagname()… it is the definition of the function wppa_exif_tagname().

    for exif_tagname() this is not required (even not permitted) because it is a built-in function that can not be re-defined.

    See also: http://php.net/manual/en/function.exif-tagname.php

    Thread Starter CoolDavidoff

    (@cooldavidoff)

    I don’t know what to say because I am not a coder.
    But what I do know is, if YOU were the one affected (site DOWN because of, say MY, plugin) you’d be upset if I as the creator replied like this (with excuses). No matter how justified they may be from a CODING perspective.

    I can’t do the digging for you WHY your code gives a fatal error.
    If I could, I’d be the plugin creator. 🙂

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    It should be safe to update now to 6.8.03, released 5 minutes ago.
    Sorry for the inconvenience, but it is almost impossible for me to take all possible server mis-configurations into account.

    My problem is solved with this last update.
    Thank you very much!
    Great plugin by the way! keep up the good work!

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    @slycer98 Thank you for your confirmation of fix.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp-admin crashed after latest wppa update!’ is closed to new replies.