• Hello,

    I am trying to help a client update their WordPress account and theme. They currently have Agama 1.1.4 installed along with a child theme where customizations have been made. When I try to update the parent theme to version 1.2.3, I receive the following error after the update finishes:

    Cannot redeclare agama_customize_support_register() (previously declared in C:\wamp\www\client2\wp-content\themes\agama\framework\admin\customizer.php:1437) in C:\wamp\www\client2\wp-content\themes\agama\framework\admin\customizer.php on line 1460

    I’ve noticed that the only time this error is thrown is if my child theme is activated. If I activate the parent theme and then update it, this problem does not occur. As soon as I switch back to the child theme, it happens.

    Another thing I noticed is several weeks ago I attempted to update this theme and I didn’t have any problems. It looked totally different and so I put it all back, but I know it wasn’t throwing any errors. I believe I was also using an older version of WordPress at that time. I am on the current version of WordPress now trying to make these updates and now the error occurs. Not sure if that’s going to make a difference so I thought I’d mention it.

    That particular function is only being used that one time in that file. My familiarity with PHP is not enough to be able to find the problem. I was wondering if you could help me pinpoint this error? I appreciate any assistance you can give.

    Thanks!
    Lori

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @joyfulori,

    Thanks for reporting this issue, i will check it and prepare update.

    Regards

    Thread Starter joyfulori

    (@joyfulori)

    Thank you @jerryscg, I appreciate your quick response. I wanted to tell you that sooner but have been unable to log in for the last few days. Any ideas on when you’ll be able to put the update out there? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot redeclare agama_customize_support_register()’ is closed to new replies.