Viewing 10 replies - 1 through 10 (of 10 total)
  • Me too:

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    What is the server’s platform?

    You can go back to 5.1.18, download http://downloads.wordpress.org/plugin/wp-photo-album-plus.5.1.18.zip and install manually. ( unzip and ftp )

    What is your php version? Must be >= 5.3

    If your php rev < 5.3 and you do not need CDN service, edit wppa.php and remove:

    /* Load cloudinary if configured */
    add_action('init', 'wppa_load_cloudinary');
    function wppa_load_cloudinary() {
    	if ( get_option('wppa_cdn_service', 'nil') != 'cloudinary' ) return;
    
    	require_once 'cloudinary/src/Cloudinary.php';
    	require_once 'cloudinary/src/Uploader.php';
    	require_once 'cloudinary/src/Api.php';
    
    	\Cloudinary::config(array(
    		"cloud_name" 	=> get_option('wppa_cdn_cloud_name'),
    		"api_key" 		=> get_option('wppa_cdn_api_key'),
    		"api_secret" 	=> get_option('wppa_cdn_api_secret')
    	));
    
    	global $wppa_cloudinary_api;
    	$wppa_cloudinary_api = new \Cloudinary\Api();
    }

    It is at the end of the file

    Is LAMP
    MySQL 5.1.72
    PHP 5.2.17

    Have tried removing the code above from wppa.php but still cannot activate

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    You can now safely update to 5.2.1, it checks the php version and does not load the offending code if php < 5.3.

    Many thanks for dealing with this so promptly opajaap. v5.2.1 fixed the problem

    After the shock of seeing my site down, I’m scared of doing it now.. 🙂

    Ty Opajaap

    Yep.. Updates fine now. TY!

    Thread Starter brucerfay

    (@brucerfay)

    WPPA+ 5.2.1 installed and activated without an error but when I go to Photo Albums | Settings this is what I get:

    Parse error: syntax error, unexpected T_STRING in /home/content/…../wp-content/plugins/wp-photo-album-plus/wppa-settings-autosave.php on line 342

    I do not know what versions of LAMP my web-hosting server is running, but I am running WordPress 3.7.1 without any problems.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Parse error: syntax error, unexpected T_STRING in /home/content/…../wp-content/plugins/wp-photo-album-plus/wppa-settings-autosave.php on line 342

    Fixed in 5.2.2

    Thread Starter brucerfay

    (@brucerfay)

    Thank you!

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

The topic ‘Fatal error on activate’ is closed to new replies.