• Resolved shannon84

    (@shannon84)


    I just moved a site from development to live and am now getting this error:
    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/dpcab/public_html/wp-content/plugins/mobile-menu/vendor/titan-framework/lib/class-titan-framework.php on line 287

    I have tried deleting the plugin and reinstalling via ftp and deactivating all plugins, but the error persists. I also tried deleting all accounts in the Freemius Debug – SDK v.2.3.0 page twice, but the error still displays. I have also tried clicking the save button, but that does not make the error go away either.
    wordpress version: 5.2.3
    plugin version: 2.7.4.4

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    @shannon84
    Can you replace the line 287 inside wp-content/plugins/mobile-menu/vendor/titan-framework/lib/class-titan-framework.php

    if ( array_key_exists( $optionName, $this->adminOptions ) ) {

    by this one:

    if ( is_array($this->adminOptions) && array_key_exists( $optionName, $this->adminOptions ) ) {

    Let me know if it worked.

    Thread Starter shannon84

    (@shannon84)

    I replaced the line and error message on the front end disappeared, but it seems like the plugin won’t save any changes to the settings and if I click on “Header” in the plugin the following error appears:
    Warning: array_key_exists() expects parameter 2 to be array, string given in /home/dpcab/public_html/wp-content/plugins/mobile-menu/vendor/titan-framework/lib/class-titan-framework.php on line 287

    Thanks!

    Plugin Author Rui Guerreiro

    (@takanakui)

    It seems the options need to be reseted.

    Can you import export the settings from the old site and import it in this new site?

    If you don’t have the old site anymore will be necessary to reset the settings and start again.

    Thread Starter shannon84

    (@shannon84)

    There is no old site to import from, but I have tried the “Reset to Defaults” button numerous times and it doesn’t seem to help. No matter what setting I change it just goes back to default after I hit the save button. I have tried clearing by browser cache and using a different browser.

    Plugin Author Rui Guerreiro

    (@takanakui)

    @shannon84

    Need to ask something in private.
    Send me an email to [support AT wpmobilemenu DOT com]

    Thanks

    Plugin Author Rui Guerreiro

    (@takanakui)

    Will close the topic for now.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Titan Framework Warning Error Persisting’ is closed to new replies.