Boy, do I need some help. I can't figure it on my own, and I've tried.
I tried to activate a wordpress pluging, wp-prettyphoto, and i get this message:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/marginsx/marginsxs.com/Garden/wp-content/plugins/wp-prettyphoto/wp-prettyphoto.php on line 21
I've tried and haven't been able to find the problem, like I know what I'm doing.
Here is the code, well, some of it a bit past line 21.
Line 21 is: public $opts = array();
<?php
/*
Plugin Name: WP-prettyPhoto
Plugin URI: [url]http://blog.fusi0n.org/category/wp-prettyphoto[/url]
Description: prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrame. It's a full blown media modal box. WP-prettyPhoto embeds those functionalities in WordPress.
Version: 1.6.2
Author: Pier-Luc Petitclerc
Author URI: [url]http://blog.fusi0n.org[/url]
Text Domain: wp-prettyphoto
License: [url]http://creativecommons.org/licenses/by/3.0/[/url]
*/
class WP_prettyPhoto {
/**
* Options array
* @var array WP-prettyPhoto Options (Since 1.4, this also contains options default and current values and descriptions)
* @access private
* @since 1.3
*/
public $opts = array(); (line 21 is right here)
/**
* Switch to temporarily enable/disable parsing
* @var bool status
* @access public
* @static
* @since 1.5
* @see wppp_shortcode
*/
static public $status = true;
With all my gratitude for your time and considerations!
MarginsXs