Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sebe6

    (@sebe6)

    Now that I’ve done my getters, I’m trying to do my setters
    But the $request have all the first layer keys set on ‘protected’

    object(WP_REST_Request) #19143 (8) {
      ["method":protected]= >
      string(4)
    "POST" ["params": protected] =>
    array(6) {
        ["URL"] =>
        array(0) {}
          ["GET"] =>
          array(0) {}
          ["POST"] =>
          array(2) {
            ["title"] =>
            string(4)
            "test" ["content"] =>
            string(1)
            "a"
          }
          ["FILES"] =>
          array(0) {}
          ["JSON"] =>
          NULL["defaults"] =>
          array(0) {}
      }
      ["headers": protected] =>
      array(13)

    I could find a workaround (stringify + cut what you want) but that wouldn’t be resilient (I’d also prefer to learn it the right way first)

    EDIT: Okay, I didn’t knew using global var wasn’t the default way to go around wordpress
    I’ll think about using the search through all files next time 😉

    PS:
    I wish you a Happy New Year to you who read this 🙂

    • This reply was modified 6 years, 4 months ago by sebe6.
    Thread Starter sebe6

    (@sebe6)

    Thx ! I’m not stuck anymore 😀
    I wonder why there’s no mention of this var in the wordpress rest api doc while it’s so usefull

    Thread Starter sebe6

    (@sebe6)

    Hi, some features doesn’t work as expected
    Contact form 7 style:
    -“save change” not working
    -Stuck to editing textarea tab
    Elementor:
    “Edit with Elementor” only work on page already using it (don’t even work on blank page)

    • This reply was modified 6 years, 11 months ago by sebe6.
    Thread Starter sebe6

    (@sebe6)

    Sorry I didn’t think it would be considerated inappropriate

    Seems like switching theme was the right thing to do for the bugs I had, except for “edit with elementor”

    Thread Starter sebe6

    (@sebe6)

    Can’t see my last message (waiting approval) but I just found something :
    The “edit with elementor” button seems to not work only on page which weren’t edited with it before hand

    Thread Starter sebe6

    (@sebe6)

    Hi !
    1) Password protected link removed
    2) Except for the one posted higher I don’t think they can see any other problems

    The System Requirements are met but just in case I chose to go from php5.6 to php7.0php, I also did regenerate the CSS since I couldn’t remember if I had done it, the rest is already done
    Now I did loose the error in my header to get

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; backup_restore_theme_options has a deprecated constructor in /home/sebeovhkeq/www/wp-content/themes/the-seo/functions.php on line 821

    But I think I should be able to solve this one (edit : solved)

    Here’s Elementor report:

    		
    == Server Environment ==
    	Operating System: Linux
    	Software: Apache
    	MySQL version: MySQL Community Server (GPL) v5.6.43
    	PHP Version: 7.0.33
    	PHP Max Input Vars: 16000
    	PHP Max Post Size: 130M
    	GD Installed: Yes
    	ZIP Installed: Yes
    	Write Permissions: All right
    	Elementor Library: Not connected (HTTP Error (503))
    
    == WordPress Environment ==
    	Version: 5.2
    	Site URL: http://sebe.ovh
    	Home URL: http://sebe.ovh
    	WP Multisite: No
    	Max Upload Size: 128 MB
    	Memory limit: 1024M
    	Permalink Structure: /%postname%/
    	Language: en-US
    	Timezone: Europe/Paris
    	Debug Mode: Active
    
    == Theme ==
    	Name: The SEO
    	Version: 1.5.3
    	Author: SecretLab
    	Child Theme: No
    
    == User ==
    	Role: administrator
    	WP Profile lang: fr_FR
    	User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
    
    == Active Plugins ==
    	.Suppamenu Pro
    		Version: 2.6.2
    		Author: Sabri Taieb
    
    	Add-on Contact Form 7 - Mailpoet 3
    		Version: 1.3.10
    		Author: Tikweb
    
    	All In One WP Security
    		Version: 4.3.9.2
    		Author: Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy
    
    	Contact Form 7
    		Version: 5.1.3
    		Author: Takayuki Miyoshi
    
    	Contact Form 7 Style
    		Version: 3.1.8
    		Author: Johnny, dorumarginean, mlehelsz, MirceaR
    
    	Custom Icons for Elementor
    		Version: 0.2.2
    		Author: Michael Bourne
    
    	Disable Gutenberg
    		Version: 1.8.1
    		Author: Jeff Starr
    
    	Elementor
    		Version: 2.5.15
    		Author: Elementor.com
    
    	Elementor Addon Elements
    		Version: 1.5.3
    		Author: WebTechStreet
    
    	Elementor Addons & Templates - Sizzify Lite
    		Version: 1.3.2
    		Author: ThemeIsle
    
    	Elements Plus!
    		Version: 2.5.0
    		Author: The CSSIgniter Team
    
    	Envato WordPress Toolkit (Deprecated)
    		Version: 1.8.0
    		Author: Envato
    
    	Essential Addons for Elementor
    		Version: 3.0.0
    		Author: WPDeveloper
    
    	EWWW Image Optimizer
    		Version: 4.7.4
    		Author: Exactly WWW
    
    	Header, Footer & Blocks for Elementor
    		Version: 1.1.2
    		Author: Brainstorm Force, Nikhil Chavan
    
    	jQuery Archive List Widget
    		Version: 4.0.1
    		Author: Miguel Angel Useche Castro
    
    	MailPoet 3 (New)
    		Version: 3.26.1
    		Author: MailPoet
    
    	NavMenu Addon For Elementor
    		Version: 1.1.6
    		Author: ThemeIsle
    
    	Orbit Fox Companion
    		Version: 2.8.4
    		Author: Themeisle
    
    	Password Protected
    		Version: 2.2.4
    		Author: Ben Huson
    
    	Polylang
    		Version: 2.5.3
    		Author: Frédéric Demarle
    
    	PopBox For Elementor
    		Version: 1.0.7
    		Author: Zulfikar Nore
    
    	Premium Addons for Elementor
    		Version: 3.3.9
    		Author: Leap13
    
    	Redirection
    		Version: 4.2.3
    		Author: John Godley
    
    	Redux Framework
    		Version: 3.6.15
    		Author: Team Redux
    
    	Regenerate Thumbnails
    		Version: 3.1.1
    		Author: Alex Mills (Viper007Bond)
    
    	Responsive Lightbox & Gallery
    		Version: 2.1.0
    		Author: dFactory
    
    	Search & Filter
    		Version: 1.2.11
    		Author: Designs & Code
    
    	Shortcodes Ultimate
    		Version: 5.3.0
    		Author: Vladimir Anokhin
    
    	Shortcode Variables
    		Version: 2.4
    		Author: YeKen
    
    	Slide Anything - Responsive Content / HTML Slider and Carousel
    		Version: 2.3.2
    		Author: Simon Edge
    
    	Slider Revolution
    		Version: 5.3.0
    		Author: ThemePunch
    
    	tarteaucitron.js - Cookies legislation & GDPR
    		Version: 1.3.3
    		Author: AIC AGENCY SAS
    
    	Toolset Types
    		Version: 2.2.13
    		Author: OnTheGoSystems
    
    	Ultimate Member
    		Version: 2.0.48
    		Author: Ultimate Member
    
    	Videojs HTML5 Player
    		Version: 1.1.3
    		Author: naa986
    
    	Widget Options
    		Version: 3.7.3
    		Author: Phpbits Creative Studio
    
    	WordPress Visual Icon Fonts
    		Version: 0.5.7
    		Author: WebFactory Ltd
    
    	wpDiscuz
    		Version: 5.3.2
    		Author: gVectors Team (A. Chakhoyan, G. Zakaryan, H. Martirosyan)
    
    	WP Fastest Cache
    		Version: 0.8.9.3
    		Author: Emre Vona
    
    	WP Post Popup
    		Version: 3.2.4
    		Author: Allure Web Solutions
    
    	Yoast SEO
    		Version: 11.2.1
    		Author: Team Yoast
    
    == Log ==
    	: 
    PHP: showing 2 of 2PHP: 2019-04-12 10:02:33 [error X 23][C:\wamp64\www\wordpress\wp-content\plugins\elementor-addon-widgets\vendor\composer\ClassLoader.php::354] Maximum execution time of 120 seconds exceeded [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    PHP: 2019-05-24 08:46:24 [notice X 1][/home/sebeovhkeq/www/wp-content/plugins/elementor/core/logger/items/base.php::101] Array to string conversion [array (
      'trace' => '
    #0: Elementor\Core\Logger\Manager -> shutdown()
    ',
    )]
    
    Log: showing 2 of 22019-04-18 09:39:40 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '2.5.13',
      'to' => '2.5.14',
    )]
    2019-05-09 10:04:20 [info] Elementor data updater process has been completed. [array (
      'plugin' => 'Elementor',
      'from' => '2.5.14',
      'to' => '2.5.15',
    )]
    
    JS: showing 20 of 39JS: 2019-05-03 12:48:42 [error X 1][http://localhost/wordpress/wp-includes/js/jquery/jquery.js?ver=1.12.4 line 2 > eval:2:18] jQuery(...).l is not a function 
    JS: 2019-05-03 12:48:42 [error X 1][http://localhost/wordpress/wp-includes/js/jquery/jquery.js?ver=1.12.4 line 2 > eval:2:18] jQuery(...).loa is not a function 
    JS: 2019-05-09 08:24:15 [error X 5][http://localhost/wordpress/wp-admin/post.php?post=3718&action=elementor:2:1] Invalid regular expression: missing / 
    JS: 2019-05-09 08:24:27 [error X 2][http://localhost/wordpress/wp-admin/post.php?post=3718&action=elementor:6:1] Unexpected token * 
    JS: 2019-05-09 08:38:54 [error X 22][http://localhost/wordpress/wp-admin/post.php?post=3718&action=elementor:12:98] missing ) after argument list 
    JS: 2019-05-10 08:27:26 [error X 3][http://localhost/wordpress/wp-admin/post.php?post=3718&action=elementor:23:63] Unexpected token ; 
    JS: 2019-05-10 08:29:25 [error X 1][http://localhost/wordpress/wp-admin/post.php?post=3718&action=elementor:24:60] Unexpected token } 
    JS: 2019-05-16 11:57:54 [error X 3][http://localhost/wordpress/wp-admin/post.php?post=4168&action=elementor:3:15] Cannot read property \'load\' of undefined 
    JS: 2019-05-16 11:58:18 [error X 1][http://localhost/wordpress/wp-admin/post.php?post=4168&action=elementor:20:7] Cannot read property \'ready\' of undefined 
    JS: 2019-05-16 15:03:59 [error X 12][http://localhost/wordpress/wp-admin/post.php?post=3718&action=elementor:33:45] Invalid or unexpected token 
    JS: 2019-05-17 08:56:36 [error X 3][http://localhost/wordpress/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.15:2:213050] Cannot read property \'html\' of undefined 
    JS: 2019-05-18 13:50:43 [error X 1][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4 line 2 > eval:3:1] google is not defined 
    JS: 2019-05-18 13:50:45 [error X 1][http://sebe.ovh/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.15:2:83479] i is undefined 
    JS: 2019-05-23 11:03:04 [error X 5][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4:16:78] missing : after property id 
    JS: 2019-05-23 11:03:17 [error X 3][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4:16:86] expected expression, got \',\' 
    JS: 2019-05-23 11:03:40 [error X 8][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4:16:87] expected property name, got \':\' 
    JS: 2019-05-23 11:03:56 [error X 39][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4:16:109] missing } after property list 
    JS: 2019-05-23 11:06:47 [error X 3][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4:16:101] expected property name, got \',\' 
    JS: 2019-05-23 11:16:45 [error X 3][http://sebe.ovh/wp-includes/js/jquery/jquery.js?ver=1.12.4:16:140] \'\' string literal contains an unescaped line break 
    JS: 2019-05-23 12:09:16 [error X 1][http://sebe.ovh/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.5.15:2:213040] e.ui.form is undefined 
    

    Edit: seems like my theme (secretlab the-seo) is the reason for the footer error, it isn’t compatible with elementor, but I didn’t got any error about it before migrating, is there no other way than switching theme ?

    • This reply was modified 7 years ago by sebe6. Reason: Working on it on my side
    • This reply was modified 7 years ago by Jan Dembowski.
Viewing 6 replies - 1 through 6 (of 6 total)