• I can’t access my WP Dashboard at all for my website: theadsci.com. I am receiving the following error. Can you please help me with this?

    “ArgumentCountError thrown
    Too few arguments to function Ihover_Circular_Image_Hover_Effects::__construct(), 0 passed in /home/linagederm/theadsci/wp-content/plugins/wp-overlays/wp-overlays.php on line 254 and exactly 1 expected”

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • So i have found a workaround.

    you have to add the parameter $atts in line 254 and 255 in wp-overlay.php
    So they look like this:

    $ihover = new Ihover_Circular_Image_Hover_Effects($atts);
    $square = new Class_Square_Image_Hover_Effects($atts);

    additionally i got errors in line 727 So i took a RefflectionClass to get rid of the problem.

    $reflobj = new ReflectionClass($mark_up_class); //this line is new
    $obj = $reflobj->newInstanceArgs($atts);//$mark_up_class;

    at some point, in the Plugin settings, i got also an error in modules/settings/views… but i forgot the exact spot. I added there just the $atts parameter.

    I don′t know if the plugin is fully functionally, but as far as i needed it, it’s good enough.

    How do I get back in to my account after getting “argumentcounterror thrown too few arguments to function ihover_circular_image_hover_effects::__construct(), 0 passed in /home/sam/sites/impactads.net/wp-content/plugins/wp-overlays/wp-overlays.php on line 254 and exactly 1 expected”, so I can fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ArgumentCountError thrown’ is closed to new replies.