• Resolved massimod

    (@massimod)


    If you enable debug you will see:

    PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use

    __construct()

    instead. in /home/wp-includes/functions.php on line 3457

    WP 4.3.1 and PHP 5.6

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author acosmin

    (@acosmin)

    There is a big update coming soon: http://demo.acosmin.com/D_justwrite it will solve those issues.

    If you are in a hurry you can open ../acosmin/widgets/
    custom-featured-posts-widget.php
    custom-popular-posts-widget.php
    custom-recent-posts-widget.php
    custom-tabs-widget.php
    default-social-buttons-widget.php

    and where it says at the beginning:
    function AC_Featured_Posts_Widget() {
    replace with:
    function __construct() {

    Thread Starter massimod

    (@massimod)

    I think your instructions are wrong.

    function AC_Featured_Posts_Widget() {

    is only in one php file. Apparently other functions in other files need to be replaced ?

    Theme Author acosmin

    (@acosmin)

    function AC_Featured_Posts_Widget() {
    function AC_Popular_Posts_Widget() {
    function AC_Recent_Posts_Widget() {
    function AC_Tabs_Widget() {
    function ac_social_buttons_widget()  {

    in all those files

    Thread Starter massimod

    (@massimod)

    Yes but in those files there is no

    function AC_Featured_Posts_Widget() {

    there is a different fuction name. Apparently that needs to be replaced.

    Theme Author acosmin

    (@acosmin)

    🙂 I wrote above you should replace them with:
    function __construct() {

    Thread Starter massimod

    (@massimod)

    All good now.

    And the new update looks excellent, just try not to over-load it with effects and transitions. A trap a lot of theme devs fall into.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notices for WP 4.3’ is closed to new replies.