• I was asked to update the website of a local school, and decided to use wordpress to do so. I was looking for a good theme to use, and I saw Academica but when I tried to use it all the pages print these error messages:

    Warning: Illegal string offset ‘id’ in C:\Documents and Settings\secretary\My Documents\Downloads\xampp\htdocs\wordpress\wp-content\themes\academica\page.php on line 4

    Warning: Illegal string offset ‘id’ in C:\Documents and Settings\secretary\My Documents\Downloads\xampp\htdocs\wordpress\wp-content\themes\academica\page.php on line 4

    Warning: Illegal string offset ‘id’ in C:\Documents and Settings\secretary\My Documents\Downloads\xampp\htdocs\wordpress\wp-content\themes\academica\page.php on line 4

    Warning: Illegal string offset ‘id’ in C:\Documents and Settings\secretary\My Documents\Downloads\xampp\htdocs\wordpress\wp-content\themes\academica\header.php on line 4

    Warning: Illegal string offset ‘id’ in C:\Documents and Settings\secretary\My Documents\Downloads\xampp\htdocs\wordpress\wp-content\themes\academica\header.php on line 4

    Warning: Illegal string offset ‘id’ in C:\Documents and Settings\secretary\My Documents\Downloads\xampp\htdocs\wordpress\wp-content\themes\academica\header.php on line 4

    Why is it doing this and is there any way to fix it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I also had similar problem few days back. All other things on website were fine. I was getting those errors. The problem was in php.ini file. But doing little change in php.ini file worked for me. You can also try these steps to fix this problem:

    1. Open your php.ini file. From above information, It seems your path to the php.ini file will look like this: C:\Documents and Settings\secretary\My Documents\Downloads\xampp\php\php.ini
    2. Replace “display_errors = On” with “display_errors = Off” (without quotes)
    3. Replace “display_startup_errors = On” with “display_startup_errors = Off” (without quotes)
    4. Save this file.
    5. Restart Apache and MySql services from Xampp Control Panel.

    These errors will no more be displayed. Please let me know this trick worked for you or not.

    @mseriesco – yes its working fine.

    @mseriesco, Hello. Thanks a lot, but I want to know about a nature of this error. So, any ideas? Why get_the_ID() doesn’t work? 🙂

    @alberrrt: Sorry, but I don’t know the programing of this theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Academica theme doesn't work?’ is closed to new replies.