Error upgrading Revoke theme

  • Unknown's avatar

    I realize that is error is likely on the Tesla theme, but when I upgraded the Revoke theme because the map function did not have an input for the API key, my website began to display this error:

    Warning: Invalid argument supplied for foreach() in /home/primeaug/public_html/wp-content/themes/revoke/tesla_framework/core/tesla_slider.php on line 911

    The specific line of code (line 911) reads: foreach ($values_array[$option_id] as $value) {

    I believe this error is because my current theme has an incapability with the PHP
    7.0. When running a plugin to test the compatibility between PHP 7 and the Revoke theme, it returns this error:

    787 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.

    Like I said, I think I know the theme is the problem, but it is there anything I can do about it?

  • Hi there,

    Looks like you’re in the wrong forum. It appears that you’re using the self-hosted version of WordPress and you need to seek help at the WordPress.org forums:

    https://wordpress.org/support/forums/

    These forums are for WordPress.com hosted sites only. If you want to know more about the differences between WordPress.com and WordPress.org you can read this document:

    WordPress.com vs. WordPress.org

  • The topic ‘Error upgrading Revoke theme’ is closed to new replies.