• Hi,

    Customizing my theme I receive a fatal error message:

    Fatal error: Uncaught Error: Cannot use object of type WP_Customize_Manager as array in /home/alovales/test.alovalestetica.es/wp-includes/class-wp-customize-section.php:176?

    Theme support tells me that I should contact WordPress.

    Any help?

    Best regards

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • This message say that you use object type to get data. it menas data type is array and you try to get data with object method in your function file.
    for exmple
    if your data look like this

    stdClass Object
    (
        [name] => GeeksforGeeks
        [address] => Noida
    )

    So to get data you use this syntax objectname->object items
    object name means you store object in varible so that objectname.
    object items means
    name,address

    if your data is not look like this so you simple use this syntax $objectname[‘object items’];
    Please check function file or modified file.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error. Cannot use object of type WP_Customize_Manager as array.’ is closed to new replies.