Topic: Parse error

I have been using Arras Theme 1.4.3.1 and recently upgraded to 1.5.0.1. As soon as I activate the new version, I get a parse error.

Parse error: syntax error, unexpected '=', expecting ')' in .../wp-content/themes/arras/library/admin/options.php on line 216

I have looked at line 216, and have not seen any problems in the code. Any help would be appreciated.

I am using wordpress 3.0.1 on php4 and mysql 5.0

Last edited by tmazon (2010-09-20 20:26:37)

Thumbs up

Re: Parse error

It's under investigation already: https://code.google.com/p/arras-theme/i … &can=1

My Arras themed & Arras related site: NullCore.
Please ask questions about Arras on forum, not through mail, thanks.

Re: Parse error

extatix wrote:

It's under investigation already: https://code.google.com/p/arras-theme/i … &can=1

Any fix figured out? My blog is stuck at this Error notice. I tried renaming the arras theme in hopes of activating Default theme. Renaming just yielded a completely blank screen.  (I can access all my files through cPanel.)

Thumbs up

Re: Parse error

brennanmk wrote:
extatix wrote:

It's under investigation already: https://code.google.com/p/arras-theme/i … &can=1

Any fix figured out? My blog is stuck at this Error notice. I tried renaming the arras theme in hopes of activating Default theme. Renaming just yielded a completely blank screen.  (I can access all my files through cPanel.)

I had same exact problem. See: http://www.arrastheme.com/forums/topic3 … me-15.html

But w/ me, re-naming the arras folder to "arras2" forced the database to activate default theme. So, I was able to go back in and change back to original settings. If this doesn't work for you, try moving the entire arras folder out of the themes directory and into another directory. If that doesn't work, then go to the Word Press forum.

Also, keep track of everything you did so that you can back track and explain what you did to someone who knows what he's doing.

Thumbs up

Re: Parse error

I solved parse error! I referred to the link offered by Theme Guru: https://code.google.com/p/arras-theme/i…&can=1. Read the solution and the attempts by others. See especially Tamrig's post.

Summary:
Go to line 216.
function _chain_update_posttypes(&$posttype, $new_posttype, &$taxonomy, &$category=null) {

Now either copy/paste the following line, replacing line 216 w/ this one:
function _chain_update_posttypes(&$posttype, $new_posttype, &$taxonomy, &$category) {

Or, delete "=null". Then, just upload that file in the same folder, replacing the old file.

Thumbs up