Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter romc2016

    (@romc2016)

    Quick update with additional info: the weird error messages I got inside of dropdown menus and text field forms within my themes were definitely a problem with PHP 8. With the switch to PHP 7.4 the just vanished.

    Example of an error message (sorry German): “Deprecated: attribute_escape ist seit Version 2.8.0 veraltet! Benutze stattdessen esc_attr(). in D:\xampp\htdocs\wp-includes\functions.php on line 5211”

    Thread Starter romc2016

    (@romc2016)

    I have now set up a completely new blog in a sub directory of the original blog (same XAMPP/PHP/MariaDB-installation but new db). I just created a folder “/test”, copied a fresh copy of wordpress into it, configured the wp-config-File and voilà, this works fine. I guess I will have to set it all up new over the weekend and migrate the 13 sites…

    It will be a lot of work but at least I know how I can potentially solve the issue.

    Thanks never the less! I’m still open to ideas! 🙂

    kind regards

    Roman

    Thread Starter romc2016

    (@romc2016)

    Hi t-p

    thank you for your answer. Unfortunately It didn’t solve the issue.

    I tried the following:
    – disable all plug-ins
    – using Twenty-Twenty (and others) as theme
    – renaming the plug-ins folder to make sure they are all disabled
    – completely new install of XAMPP with PHP 7.4.25
    – trying the “Health-Check” plug-in. It tells me the site is in good health. Itonly tells me that imagick isn’t installed and that I don’t use https, which is ok, since it’s only on the intranet. I also checked the data integrity, which is good.
    – I turned on Truble Shooting mode
    – I turned off debug mode (which I had turned on to figure out what’s wrong…)

    When I try to create a post with Debug Mode off I get the following message:

    Warning: Creating default object from empty value in D:\xampp\htdocs\wp-admin\includes\post.php on line 736

    If I try it with Debog Mode on, I get the following messages:

    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7358
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7359
    
    Notice: Trying to get property 'ID' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7363
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7605
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\theme.php on line 3421
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\ms-blogs.php on line 799
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\theme.php on line 3645
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 5148
    
    Notice: Trying to get property 'ID' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 5148
    
    Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 4457
    
    Warning: Creating default object from empty value in D:\xampp\htdocs\wp-admin\includes\post.php on line 736
    
    Notice: Undefined property: stdClass::$ID in D:\xampp\htdocs\wp-admin\post-new.php on line 67
    
    Notice: Undefined property: stdClass::$post_status in D:\xampp\htdocs\wp-admin\edit-form-blocks.php on line 82
    
    Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-admin\includes\meta-boxes.php on line 1426
    
    Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-includes\taxonomy.php on line 245
    
    Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-includes\taxonomy.php on line 248
    
    Notice: Trying to get property 'labels' of non-object in D:\xampp\htdocs\wp-admin\includes\meta-boxes.php on line 1502
    
    Notice: Trying to get property 'attributes' of non-object in D:\xampp\htdocs\wp-admin\includes\meta-boxes.php on line 1502
    
    Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-admin\edit-form-blocks.php on line 278
    Thread Starter romc2016

    (@romc2016)

    Wow, thanks! This seems to have solved the problem. 🙂

    Thread Starter romc2016

    (@romc2016)

    Hi

    thanks for the quick reply. Mabye I didn’t explain what I meant clearly enough. The problem occurs after making the window small and then big again. Making the window small shows the mobile menu. That works perfectly. But after resizing the window big again WP Mega Menu is not working properly anymore. Clicking on menu entries doesn’t do anything and sub-menus aren’t shown.

    I’ve tried it in several browsers. In some browsers (i.e. IE) the bug appears if you have clicked on the mobile menu. In other browsers (i.e. Firefox) you don’t have to click the mobile menu at all. The bug is also there on the iPhone if you switch between landscape and portrait mode.

    And it’s not a problem with my theme, as it behaves the same way in the demo-installation here: http://demo.accesspressthemes.com/wordpress-plugins/wp-mega-menu/horizontal-mega-menu-demo/

    but as I said before: other than that, this is a great plug-in! 🙂

    thanks!

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